summaryrefslogtreecommitdiffstats
path: root/qinit
diff options
context:
space:
mode:
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[@]}} "$@"