diff options
Diffstat (limited to 'qinit')
-rwxr-xr-x | qinit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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[@]}} "$@" |