X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=vm;h=0f14fea1aae50c1d9d4a9290a2a03f91bf303767;hp=d8abece8e4565aa49e7905c6291738ef94a809f9;hb=d802c8aecc3efb8dbd1a9158a0cc77e61013c6c9;hpb=65d310dc8b3b59d3428d9a46c27e2f3594a8b2e9 diff --git a/vm b/vm index d8abece..0f14fea 100755 --- a/vm +++ b/vm @@ -9,6 +9,7 @@ while echo '' | nc localhost $ssh_port >/dev/null; do ssh_port=$((ssh_port+1)) done echo "Host ssh port: $ssh_port" -qemu-system-x86_64 -enable-kvm -display sdl -m 2048 -drive file="$image",if=virtio \ +qemu-system-x86_64 -enable-kvm -display gtk -m 2048 -device virtio-rng-pci \ + -drive file="$image",if=virtio \ -virtfs local,id=src,path=$HOME,security_model=none,mount_tag=home,readonly \ -net nic,model=virtio -net user,hostfwd=tcp::${ssh_port}-:22 "$@"