diff options
author | Andrew Cady <d@jerkface.net> | 2016-04-27 04:32:05 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2016-04-27 04:32:05 -0400 |
commit | 2f133578fd7f6060d7eb7e6cbc75f6f7cc9c93ac (patch) | |
tree | f55453842157f4b64564156d6513f93d4307c367 /qemu.sh | |
parent | c7136a8f89ca478cdd53ac9f1821306ad36abe8b (diff) |
qemu.sh accepts iso fs as first argument
Diffstat (limited to 'qemu.sh')
-rwxr-xr-x | qemu.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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' |