From fb5bf60cee5d58e1426598903f93aa7719d6ef68 Mon Sep 17 00:00:00 2001 From: Luke Mlsna Date: Fri, 2 Oct 2020 12:03:30 -0700 Subject: [PATCH] Prepended $VMDIR to all image paths for consistency --- basic.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/basic.sh b/basic.sh index add14b5..da7aeda 100755 --- a/basic.sh +++ b/basic.sh @@ -1,7 +1,7 @@ #!/bin/bash OSK="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -VMDIR=$PWD +VMDIR="$PWD" OVMF=$VMDIR/firmware #export QEMU_AUDIO_DRV=pa #QEMU_AUDIO_DRV=pa @@ -22,7 +22,9 @@ 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 \ + -drive id=SystemDisk,if=none,file="$VMDIR/MyDisk.qcow2" \ + -device ide-hd,bus=sata.4,drive=SystemDisk