summaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-27 04:32:05 -0400
committerAndrew Cady <d@jerkface.net>2016-04-27 04:32:05 -0400
commit2f133578fd7f6060d7eb7e6cbc75f6f7cc9c93ac (patch)
treef55453842157f4b64564156d6513f93d4307c367 /qemu.sh
parentc7136a8f89ca478cdd53ac9f1821306ad36abe8b (diff)
qemu.sh accepts iso fs as first argument
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu.sh b/qemu.sh
index e384e85..eaccb13 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -8,6 +8,8 @@ layered=${iso%.iso}.layered.iso
8 8
9[ -f "$layered" ] && iso=$layered 9[ -f "$layered" ] && iso=$layered
10 10
11[ "$1" ] && iso=$1
12
11./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; 13./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; };
12 14
13# NET='user,tftp=isolinux,bootfile=/pxelinux.0' 15# NET='user,tftp=isolinux,bootfile=/pxelinux.0'