snap list |egrep “juju|lxd”
juju 3.4.2 26968 3/stable canonical** -
lxd 5.0.3-d921d2e 28373 5.0/stable/… canonical**
hi, after setting up a localhost lxd cloud, juju cannot set the default-base for the containers it creates. How to reproduce:
- set a default lxd environment: sudo lxd init (say Y to all);
- bootstrap a localhost lxd cloud: juju bootstrap localhost lxd
- create a model: juju add-model lxd
- set the os series: juju model-config default-base=ubuntu@22.04
- create a container: juju deploy ubuntu (Deployed “ubuntu” from charm-hub charm “ubuntu”, revision 24 in channel latest/stable on ubuntu@22.04/stable)
- Observe the juju status until the container is deployed: juju status --watch 2s and watch at the Base (should be ubuntu@22.04)
7: log in into the container: juju ssh ubuntu/0
8: query the ubuntu version : lsb_release -a in my test it is: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble
- try an update: sudo apt -y update, you will see the noble repos and not the jammy ones:
Hit:1 Index of /ubuntu noble-security InRelease
Hit:2 Index of /ubuntu noble InRelease
Hit:3 Index of /ubuntu noble-updates InRelease
Hit:4 Index of /ubuntu noble-backports InRelease