Incus agent in LXD VMs

You are using LXD with the images: remote which pulls the community images from https://images.linuxcontainers.org/.

Due to recent changes in distrobuilder (which is used to build the community images) it now appears that VMs from the images remote are running the incus-agent when in fact they are still running the lxd-agent hosted by LXD, as it just symlinks incus-agent to lxd-agent:

https://github.com/lxc/distrobuilder/commit/118c7d550e67d4cdaeb280e3792a493b3e8921cb#diff-ca406f966a7e197a7dd51c565134a2c63887880a39056c12e5e2114a79fd608eR57-R62

Canonical only provides the official Ubuntu images using the ubuntu: remote.

So for example, the official Ubuntu Jammy image would be used as follows:

lxc launch ubuntu:22.04 c1

These include cloud-init and so are equivalent to the /cloud variants from the images: remote.

2 Likes