From 4d4df6d0511e366217126437ce7252a1b9aaf404 Mon Sep 17 00:00:00 2001 From: notAperson535 <95918679+notAperson535@users.noreply.github.com> Date: Fri, 14 Jan 2022 08:54:51 -0500 Subject: [PATCH] Update basic.sh --- basic.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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 \