mirror of
https://github.com/foxlet/macOS-Simple-KVM.git
synced 2024-11-26 21:19:41 +01:00
open from any directory
This commit is contained in:
parent
527588d5a2
commit
c53a476900
1 changed files with 3 additions and 3 deletions
6
basic.sh
6
basic.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
|
||||
VMDIR=$PWD
|
||||
VMDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )
|
||||
OVMF=$VMDIR/firmware
|
||||
#export QEMU_AUDIO_DRV=pa
|
||||
#QEMU_AUDIO_DRV=pa
|
||||
|
@ -22,7 +22,7 @@ qemu-system-x86_64 \
|
|||
-netdev user,id=net0 \
|
||||
-device e1000-82545em,netdev=net0,id=net0,mac=52:54:00:c9:18:27 \
|
||||
-device ich9-ahci,id=sata \
|
||||
-drive id=ESP,if=none,format=qcow2,file=ESP.qcow2 \
|
||||
-drive id=ESP,if=none,format=qcow2,file=$VMDIR/ESP.qcow2 \
|
||||
-device ide-hd,bus=sata.2,drive=ESP \
|
||||
-drive id=InstallMedia,format=raw,if=none,file=BaseSystem.img \
|
||||
-drive id=InstallMedia,format=raw,if=none,file=$VMDIR/BaseSystem.img \
|
||||
-device ide-hd,bus=sata.3,drive=InstallMedia \
|
||||
|
|
Loading…
Reference in a new issue