From: Martin Pitt Date: Sat, 3 Sep 2022 07:47:09 +0000 (+0200) Subject: vm: Bare readonly option is deprecated X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=09e04d40b7b3abe77e0a3da4b9145e26e0a2dca9;p=bin.git vm: Bare readonly option is deprecated --- 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 "$@"