1
0
mirror of https://github.com/foxlet/macOS-Simple-KVM.git synced 2024-06-02 14:13:31 +02:00

Update basic.sh

Added legacy boot (use -l)
This commit is contained in:
notAperson535 2022-01-14 08:19:03 -05:00 committed by GitHub
parent 5348bf09b2
commit 7b50236288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
#!/bin/bash
OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VMDIR=$PWD
OVMF=$VMDIR/firmware
@ -28,3 +29,13 @@ qemu-system-x86_64 \
-device ide-hd,bus=sata.3,drive=InstallMedia \
-drive id=SystemDisk,if=none,file=macOS.qcow2 \
-device ide-hd,bus=sata.4,drive=SystemDisk \
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