@cryptotaxi247 / infra / commits / 02c386f4

macs: ide-drive is ide-cd / ide-drive now

Graham Christensen committed Dec 19, 2021 at 02:29 UTC 02c386f474a24ec3f0f687dc7bbb1a1b129cd8a6
1 file changed +3 -3
macs/host/qemu.nix
+3 -3
@@ -70,11 +70,11 @@ in {
70 -drive if=pflash,format=raw,snapshot=on,file=${ovmfVarsFile} \
71 -smbios type=2 \
72 -device ich9-intel-hda -device hda-duplex \
73 - -device ide-drive,bus=ide.2,drive=Clover \
73 + -device ide-hd,bus=ide.2,drive=Clover \
74 -drive id=Clover,if=none,snapshot=on,format=qcow2,file='${cloverImage}' \
75 - -device ide-drive,bus=ide.1,drive=MacHDD \
75 + -device ide-hd,bus=ide.1,drive=MacHDD \
76 -drive id=MacHDD,cache=unsafe,if=none,file=${zvolDevice},format=raw \
77 - -device ide-drive,bus=ide.0,drive=config \
77 + -device ide-cd,bus=ide.0,drive=config \
78 -drive id=config,if=none,snapshot=on,media=cdrom,file=/tmp/config.iso \
79 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device e1000-82545em,netdev=net0,id=net0,mac=${config.macosGuest.guest.MACAddress} \
80 -vnc 127.0.0.1:0 \