X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=vm;h=174aedf385883e769757df714fe576db0c6bdbef;hb=739e7017ea68bf529515666feab89ae02e7c983e;hp=3e94cb753fc756aa0f2c56d1b1ff4361dc6934be;hpb=e0c1c1a8225413d1162dfa39271585a245dc8bb0;p=bin.git diff --git a/vm b/vm index 3e94cb7..174aedf 100755 --- a/vm +++ b/vm @@ -11,5 +11,5 @@ done echo "Host ssh port: $ssh_port" 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 "$@"