summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-10-12 15:44:43 -0400
committerAndrew Cady <d@jerkface.net>2020-10-12 15:44:43 -0400
commit03aa410e15a7edc6e96e9f799e970723bca9863d (patch)
treee8050fd3f93a051ed28853b4185c6848100b48cf
parent587590640fc455342680d80a37cd5761aa229aec (diff)
call "parted-usb.sh boot" to boot the default target w/o building itwip-2020-10-12
-rwxr-xr-xsrc/parted-usb.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh
index e3887bb..198323b 100755
--- a/src/parted-usb.sh
+++ b/src/parted-usb.sh
@@ -229,7 +229,10 @@ fi
229sanity_checks 229sanity_checks
230set -e 230set -e
231 231
232if [ "$1" ] 232if [ "$1" = boot ]
233then
234 boot_vm boot-disk.img
235elif [ "$1" ]
233then 236then
234 [ -b "$1" ] || die "Not a block device: $1" 237 [ -b "$1" ] || die "Not a block device: $1"
235 target=$1 238 target=$1