diff options
-rwxr-xr-x | qemu.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,9 @@ | |||
4 | # iso=debian-live-8.4.0-amd64-standard.iso | 4 | # iso=debian-live-8.4.0-amd64-standard.iso |
5 | iso=debian-live-8.4.0-amd64-standard.btrfs.iso | 5 | iso=debian-live-8.4.0-amd64-standard.btrfs.iso |
6 | disk=${iso%.iso}.disk | 6 | disk=${iso%.iso}.disk |
7 | iso=${iso%.iso}.layered.iso | 7 | layered=${iso%.iso}.layered.iso |
8 | |||
9 | [ -f "$layered" ] && iso=$layered | ||
8 | 10 | ||
9 | ./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; | 11 | ./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; }; |
10 | 12 | ||