We will prepare an LXD host that MAAS can control over HTTPS, and create a bridge that MAAS-managed DHCP can reach.
sudo snap install lxd
sudo lxd init --auto
lxc config set core.https_address :8443
lxc config set core.trust_password "changeme"
# list networks
lxc network list
# create a bridge (example: br0 on 192.168.123.0/24)
lxc network create br0 ipv4.address=192.168.123.1/24 ipv4.nat=false ipv6.address=none
Composed VMs need to live on a network MAAS manages. The bridge connects VMs to your lab subnet where DHCP will run.
Do not enable br0 NAT if you intend MAAS to manage addresses on that segment.