LXD VM with Custom Image

I have a image generated by Hashcorp’s packer based on Ubuntu could image, I used that to boot Multipass VMs, can I use that image for LXD images?

If not, what options we have to customize Ubuntu images?

Hi @mezobari, no idea about multipass vm to lxd transformation but you can easily modify any image you want then snapshot the container/vm at last publish the container. The published image is your template.
https://sleeplessbeastie.eu/2021/08/16/how-to-create-lxd-image-from-an-existing-snapshot/
Regards.

1 Like

That should do the trick