From 09e04d40b7b3abe77e0a3da4b9145e26e0a2dca9 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sat, 3 Sep 2022 09:47:09 +0200 Subject: [PATCH] vm: Bare readonly option is deprecated --- vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "$@" -- 2.39.2