From 03aa410e15a7edc6e96e9f799e970723bca9863d Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Mon, 12 Oct 2020 15:44:43 -0400 Subject: call "parted-usb.sh boot" to boot the default target w/o building it --- src/parted-usb.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/parted-usb.sh') 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 sanity_checks set -e -if [ "$1" ] +if [ "$1" = boot ] +then + boot_vm boot-disk.img +elif [ "$1" ] then [ -b "$1" ] || die "Not a block device: $1" target=$1 -- cgit v1.2.3