summaryrefslogtreecommitdiffstats
path: root/qinit
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-06-03 12:28:41 +0200
committerFlorian Pritz <bluewind@xinu.at>2014-06-03 12:28:41 +0200
commit3774c0948ac1216765c15ede8839f52f5fb9e7b9 (patch)
tree4b1d16df352b36cf141c8731baa37cfa3cf4b142 /qinit
parent7fba334e4fe21133141125ac77185ab9a0b22f2c (diff)
downloadbin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.gz
bin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.xz
misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'qinit')
-rwxr-xr-xqinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/qinit b/qinit
index 15eab3e..5054763 100755
--- a/qinit
+++ b/qinit
@@ -36,7 +36,7 @@ declare net="-netdev bridge,br=virbr1,id=mynet0 -device virtio-net,netdev=mynet0
cdrom+=("-boot" "d")
#declare cdrom="-cdrom $isoroot/archlinux-2012.11.01-dual.iso -boot d"
-for iso in "$isoroot/"archlinux-*.iso; do
+for iso in "$isoroot/"*.iso; do
cdrom+=("-cdrom" "$iso")
done
### Launcher #############################
@@ -75,5 +75,5 @@ if (( ${#drives[*]} == 0 )); then
done
fi
-exec qemu-system-x86_64 --machine type=pc,accel=kvm -boot order=dcn "${opts[@]}" $cpus $mem "${drives[@]}" $net ${usecdrom:+${cdrom[@]}} "$@"
+exec qemu-system-x86_64 -monitor stdio --machine type=pc,accel=kvm -boot order=dcn "${opts[@]}" $cpus $mem "${drives[@]}" $net ${usecdrom:+${cdrom[@]}} "$@"