Hoang Nguyen 26cba165dc | ||
---|---|---|
answers | ||
artifacts | ||
scripts | ||
terraform/alpine-qemu | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
alpine-libvirt.pkr.hcl | ||
alpine-qemu.pkr.hcl | ||
update_iso_checksum.sh |
README.md
Packer templates
This repository holds Packer's VM templates I use. Most (if not all) of them run AlpineLinux.
Dependencies
For update_iso_checksum.sh script:
Other:
Note that libvirt plugins (for both Packer and Terraform) do not support modular daemons so running libvirtd
service is required. Issue filled at https://github.com/digitalocean/go-libvirt/issues/171.
VM boxes
- alpine-qemu.pkr.hcl: libvirt-compatible VM on local machine running Alpine edge
# Build the VM box and launch it as a libvirt domain
VM_STATE_RUNNING=true make alpine-qemu.pkr.hcl alpine-qemu
- alpine-libvirt.pkr.hcl: a variation of
alpine-qemu
box with UEFI, using packer-plugin-libvirt instead of terraform-provider-libvirt
# Build the box and import it into `default` libvirt pool
make alpine-libvirt.pkr.hcl
# You'll have to start the VM manually
virsh -c qemu:///system start packer-alpine-edge-uefi-libvirt-x86_64
Acknowledge
License
MIT