mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-11-17 00:29:41 +01:00
Update basic.sh
This commit is contained in:
parent
7b50236288
commit
4d4df6d051
1 changed files with 9 additions and 0 deletions
9
basic.sh
9
basic.sh
|
@ -25,6 +25,15 @@ qemu-system-x86_64 \
|
||||||
-device ich9-ahci,id=sata \
|
-device ich9-ahci,id=sata \
|
||||||
-drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
|
-drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
|
||||||
-device ide-hd,bus=sata.2,drive=ESP \
|
-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 \
|
-drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \
|
||||||
-device ide-hd,bus=sata.3,drive=InstallMedia \
|
-device ide-hd,bus=sata.3,drive=InstallMedia \
|
||||||
-drive id=SystemDisk,if=none,file=macOS.qcow2 \
|
-drive id=SystemDisk,if=none,file=macOS.qcow2 \
|
||||||
|
|
Loading…
Reference in a new issue