]> piware.de Git - bin.git/blobdiff - vm
build-devtoolbox: Drop waiverdb-cli, bodhi updates waive can do that
[bin.git] / vm
diff --git a/vm b/vm
index 5c497593c55b8acfd171e266133e2704f7cb724a..0f14fea1aae50c1d9d4a9290a2a03f91bf303767 100755 (executable)
--- a/vm
+++ b/vm
@@ -9,5 +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 -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 "$@"