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

share|improve this question

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.

share|improve this answer

You might want to lookup:

Getting Started with LXD

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

nova-compute:
  virt-type: 'lxd'

...combined with a deployment like:

juju deploy --config=.juju/openstack.cfg nova-compute
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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