X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=vm;h=174aedf385883e769757df714fe576db0c6bdbef;hb=ae2ec60ba79eddb9ac8667780593410fd6fd0b96;hp=53231328f6b5b7f35e478fe52754c1be331eef7d;hpb=35f89c0ca5276c3fa939e2cba92068ae1d123c11;p=bin.git diff --git a/vm b/vm index 5323132..174aedf 100755 --- a/vm +++ b/vm @@ -9,7 +9,7 @@ until echo '' | nc localhost $ssh_port 2>&1 >/dev/null | grep -q 'Connection ref ssh_port=$((ssh_port+1)) done echo "Host ssh port: $ssh_port" -qemu-system-x86_64 -enable-kvm -display gtk -m 2048 -device virtio-rng-pci \ +qemu-system-x86_64 -enable-kvm -display sdl -m 2048 -device virtio-rng-pci \ -drive file="$image",if=virtio \ - -virtfs local,id=src,path=$HOME,security_model=none,mount_tag=home,readonly \ + -virtfs local,id=src,path=$HOME,security_model=none,mount_tag=home,readonly=on \ -net nic,model=virtio -net user,hostfwd=tcp::${ssh_port}-:22 "$@"