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:
parent
5348bf09b2
commit
7b50236288
11
basic.sh
11
basic.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user