diff options
author | Andrew Cady <d@jerkface.net> | 2020-10-12 15:44:43 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-10-12 15:44:43 -0400 |
commit | 03aa410e15a7edc6e96e9f799e970723bca9863d (patch) | |
tree | e8050fd3f93a051ed28853b4185c6848100b48cf /src | |
parent | 587590640fc455342680d80a37cd5761aa229aec (diff) |
call "parted-usb.sh boot" to boot the default target w/o building itwip-2020-10-12
Diffstat (limited to 'src')
-rwxr-xr-x | src/parted-usb.sh | 5 |
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 | |||
229 | sanity_checks | 229 | sanity_checks |
230 | set -e | 230 | set -e |
231 | 231 | ||
232 | if [ "$1" ] | 232 | if [ "$1" = boot ] |
233 | then | ||
234 | boot_vm boot-disk.img | ||
235 | elif [ "$1" ] | ||
233 | then | 236 | then |
234 | [ -b "$1" ] || die "Not a block device: $1" | 237 | [ -b "$1" ] || die "Not a block device: $1" |
235 | target=$1 | 238 | target=$1 |