@cryptotaxi247 / infra / commits / c94dbb82

qemu: pass -no-reboot

Each boot, apply.sh is run. This assumes the disk is pristine A reboot is not pristine, and -no-reboot will make qemu exit upon reboot.

Eelco Dolstra committed Jun 5, 2019 at 21:21 UTC c94dbb8238ab012307494064f26466fb4e5f4e70
1 file changed +2 -1
macs/host/qemu.nix
+2 -1
@@ -67,7 +67,8 @@ in {
67 -device ide-drive,bus=ide.0,drive=config \
68 -drive id=config,if=none,snapshot=on,media=cdrom,file=/tmp/config.iso \
69 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=${config.macosGuest.guest.MACAddress} \
70 - -vnc 127.0.0.1:0
70 + -vnc 127.0.0.1:0 \
71 + -no-reboot
72 '';
73 };
74 };