diff --git a/basic.sh b/basic.sh index bf94b3d..9a1e97a 100755 --- a/basic.sh +++ b/basic.sh @@ -25,6 +25,15 @@ qemu-system-x86_64 \ -device ich9-ahci,id=sata \ -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \ -device ide-hd,bus=sata.2,drive=ESP \ + argument="$1" +case $argument in + -l|--legacy) + -drive id=ESP,if=none,format=qcow2,file=Clover.qcow2 \ + ;; + -r|--regular) + -drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \ + ;; +esac -drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \ -device ide-hd,bus=sata.3,drive=InstallMedia \ -drive id=SystemDisk,if=none,file=macOS.qcow2 \