Hi LXD team, I tried creating a bionic VM using the official images (normal and minimal). Even though lxc list
shows that the VMs are in the “Running” stage, still whenever I try to run commands like lxc shell <vm-name>
or lxc exec
it fails with the Error: LXD VM agent isn't currently running
This is because the lxd-agent package was not acceptable to be SRUd back into Bionic.
Please see https://documentation.ubuntu.com/lxd/en/latest/reference/devices_disk/ section “VM cloud-init
” for a workaround using cloud-init to install the agent.
2 Likes