]> piware.de Git - bin.git/commitdiff
vm: Bare readonly option is deprecated
authorMartin Pitt <martin@piware.de>
Sat, 3 Sep 2022 07:47:09 +0000 (09:47 +0200)
committerMartin Pitt <martin@piware.de>
Sat, 3 Sep 2022 07:47:09 +0000 (09:47 +0200)
vm

diff --git a/vm b/vm
index 3e94cb753fc756aa0f2c56d1b1ff4361dc6934be..174aedf385883e769757df714fe576db0c6bdbef 100755 (executable)
--- 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 "$@"