Is it possible to deploy a bare-metal machine with MAAS and create some LXD instances that are registered in a MAAS zone?


You might want to lookup:

Getting Started with LXD

Also, you could specify in a .juju/openstack.cfg file like:

  virt-type: 'lxd'

...combined with a deployment like:

juju deploy --config=.juju/openstack.cfg nova-compute

I don't believe this is possible right now. MAAS itself isn't aware of LXD containers or of the LXD daemon so containers won't show up in MAAS.

You can certainly deploy LXD on top of MAAS managed servers by using JuJu or even doing it manually, but LXD will not be added to MAAS as say libvirt can be. Nor does it really make sense either since LXD containers can't be PXE-booted and so can't run the MAAS installer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.