How to build a Ubuntu Packer file for LXC/LXD in HCL?

Viewed 10

I have done the tutorial and read the documentation for the LXC builder but I am still confused on how to tell Packer how to use what image.

I can understand the tutorial for Docker but as soon as I change parts that should load Ubuntu and Init the Packerfile with the LXC plugin I sitll get errors.

Majority of tutorials out there seem to be for AWS/Gcloud/Azure and as I learnt from the Docker tutorial your can't really translate stuff and quite a lot of it is in JSON which is becoming deprecated so not much HCL stuff out there.

How would I build a basic LXD/LXC Ubuntu image with Packer?

0 Answers
Related