https://github.com/alpinelinux/alpine-make-vm-image
Used to test qemu-guest-agent bugfix in terraform libvirt provider.
https://github.com/maseman/terraform-provider-libvirt
This is a minimal alpine image with the qemu-guest-agent package installed.
A static IP address 192.168.111.111 is configured on eth0 in the VM.
This address is returned in the response when running the VM using QEMU via the QMP command shown below.
{"execute": "guest-network-get-interfaces"}
This is used to validate the build.
- wget
- make
- qemu-system-x86
- qemu-utils
- netcat
Requires sudo privileges for ./tool/alpine-make-vm-image and /bin/chown.
(sudo is needed because alpine-make-vm-image requires access to /dev/nbdx and the image is initially created with root ownership).
make
Creates ./dist/alpine-qemu-agent-static-ip.qcow2
QEMU_NOGRAPHICS=yes make
Adds -nographic to qemu image verification. Used in github workflow.