Files
runtipi/apps/rego-tunnel/build/start-vm.sh
alexz 98e91e46aa
Some checks failed
Test / test (push) Has been cancelled
Renovate / renovate (push) Has been cancelled
Add TAP networking for transparent VPN routing
2025-12-25 19:00:02 +00:00

6 lines
353 B
Bash
Executable File

#!/bin/bash
# Wait for network setup
sleep 2
exec qemu-system-x86_64 -enable-kvm -cpu host -m ${VM_RAM:-8G} -smp ${VM_CPUS:-4} -hda /vm/linux-vm.qcow2 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,mac=52:54:00:12:34:56 -vnc :0 -vga virtio -usb -device usb-tablet