Files
runtipi/apps/rego-tunnel/build/start-vm.sh
alexz 3a674bc44d
Some checks failed
Test / test (push) Has been cancelled
Add linux-vm Docker build files for rego-tunnel
2025-12-25 07:39:42 +00:00

14 lines
306 B
Bash
Executable File

#!/bin/bash
exec qemu-system-x86_64 \
-enable-kvm \
-cpu host \
-m ${VM_RAM:-8G} \
-smp ${VM_CPUS:-4} \
-hda /vm/linux-vm.qcow2 \
-netdev user,id=net0,hostfwd=tcp::2222-:22 \
-device virtio-net-pci,netdev=net0 \
-vnc :0 \
-vga virtio \
-usb \
-device usb-tablet