vm-templates/README.md

1.6 KiB
Raw Blame History

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

# Build the VM box and launch it as a libvirt domain
VM_STATE_RUNNING=true make alpine-qemu.pkr.hcl alpine-qemu
# 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