feat(rego-tunnel): share /shared into VM via 9p
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -29,6 +29,8 @@ exec qemu-system-x86_64 \
|
|||||||
-m ${VM_RAM:-8G} \
|
-m ${VM_RAM:-8G} \
|
||||||
-smp ${VM_CPUS:-4} \
|
-smp ${VM_CPUS:-4} \
|
||||||
-hda /vm/linux-vm.qcow2 \
|
-hda /vm/linux-vm.qcow2 \
|
||||||
|
-fsdev local,id=fsdev0,path=/shared,security_model=none,multidevs=remap \
|
||||||
|
-device virtio-9p-pci,fsdev=fsdev0,mount_tag=shared \
|
||||||
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
|
-netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
|
||||||
-device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:56 \
|
-device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:56 \
|
||||||
-vnc :0 \
|
-vnc :0 \
|
||||||
|
|||||||
Reference in New Issue
Block a user