Skip to content

AdamGoldsmith/packer-lxd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-lxd

Customise and build LXD images using Packer + Ansible

Pre-requisites

  • LXD
  • Ansible
  • Packer (Installation script provided in repo if needed)

Tested on

  • Ubuntu 22.04
  • Mint Una 20.3

Running the code

To build a new image customised via the Ansible playbook

git clone https://github.com/AdamGoldsmith/packer-lxd.git
cd packer-lxd
./install_packer.sh
cd packer
packer build lxd-ansible-local.json.pkr.hcl

References

Notes

  • localhost commands will run as root by default

About

Build LXD images with Packer + Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published