debian-vm-auto-setup/run_usernet.sh
2023-12-19 13:28:22 +01:00

12 lines
257 B
Bash
Executable file

#!/usr/bin/bash
qemu-system-x86_64 \
-accel kvm \
-hda ./snapshot_02_working.img.qcow \
-cpu host \
-m 2048 \
-nographic \
-net user,hostfwd=tcp::42022-:22,hostfwd=tcp::42080-:80,hostfwd=tcp::42043-:443 \
-net nic
# foobaristhebestpassword