Toy virtual machines, used to mess around with Packer and MicroVM
Go to file
Hoang Nguyen 26cba165dc
Add 2nd box (libvirt with UEFI)
2022-08-30 10:02:26 +07:00
answers Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
artifacts First VM box 2022-08-29 01:56:11 +07:00
scripts Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
terraform/alpine-qemu Add Terraform plan for the first box 2022-08-29 11:09:30 +07:00
.editorconfig Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
.gitignore Add Terraform plan for the first box 2022-08-29 11:09:30 +07:00
LICENSE First VM box 2022-08-29 01:56:11 +07:00
Makefile Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
README.md Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
alpine-libvirt.pkr.hcl Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
alpine-qemu.pkr.hcl Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00
update_iso_checksum.sh Add 2nd box (libvirt with UEFI) 2022-08-30 10:02:26 +07:00

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

# 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