open-nomad/client/driver/test-resources/qemu
Michael Schurter 24d060bbb4 Test graceful shutdown
Uses an Alpine image which supports ACPI poweroff signal handling.
Handling is only enabled after the VM has booted, so this test blocks
until sshd starts before issuing the command.
2018-01-31 15:05:02 -08:00
..
README.md Test graceful shutdown 2018-01-31 15:05:02 -08:00
alpine.qcow2 Test graceful shutdown 2018-01-31 15:05:02 -08:00
linux-0.2.img spike on adding cgroups 2015-09-21 09:08:57 -07:00

README.md

QEMU Test Images

linux-0.2.img

via https://en.wikibooks.org/wiki/QEMU/Images

Does not support graceful shutdown.

Alpine

qemu-img create -fmt qcow2 alpine.qcow2 8G

# Download virtual x86_64 Alpine image https://alpinelinux.org/downloads/
qemu-system-x86_64 -cdrom path/to/alpine.iso -hda alpine.qcow2 -boot d -net nic -net user -m 256 -localtime

# In the guest run setup-alpine and exit when complete

# Boot again with:
qemu-system-x86_64 alpine.qcow2