summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2016-04-20 14:50:25 -0400
committerAndrew Cady <d@jerkface.net>2016-04-20 14:53:04 -0400
commit1961664ec151439d896f90ffdb3b7bd6cbe18fb9 (patch)
tree912fbd998591913df7d34e06a491181609c0cc38
parentc423735419e683fb2b084cc4c3a1b9948aa98ad2 (diff)
qemu will abort if initrd.sh failed
-rwxr-xr-xqemu.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu.sh b/qemu.sh
index 0f3cb30..82c0c9f 100755
--- a/qemu.sh
+++ b/qemu.sh
@@ -4,7 +4,7 @@
4# img=debian-live-8.4.0-amd64-standard.iso 4# img=debian-live-8.4.0-amd64-standard.iso
5img=debian-live-8.4.0-amd64-standard.btrfs.iso 5img=debian-live-8.4.0-amd64-standard.btrfs.iso
6 6
7./initrd.sh 7./initrd.sh || { echo "./initrd.sh failed" >&2; exit 1; };
8 8
9# NET='user,tftp=isolinux,bootfile=/pxelinux.0' 9# NET='user,tftp=isolinux,bootfile=/pxelinux.0'
10NET='tap,vlan=0,ifname=tap0,script=no,downscript=no' 10NET='tap,vlan=0,ifname=tap0,script=no,downscript=no'