diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-06-03 12:28:41 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2014-06-03 12:28:41 +0200 |
commit | 3774c0948ac1216765c15ede8839f52f5fb9e7b9 (patch) | |
tree | 4b1d16df352b36cf141c8731baa37cfa3cf4b142 /qinit | |
parent | 7fba334e4fe21133141125ac77185ab9a0b22f2c (diff) | |
download | bin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.gz bin-3774c0948ac1216765c15ede8839f52f5fb9e7b9.tar.xz |
misc changes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
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[@]}} "$@" |