This commit is contained in:
Oliver
2025-08-10 18:04:34 -03:00
parent 4c93fa132f
commit a84fe3f740
14 changed files with 147 additions and 315 deletions

View File

@@ -1,6 +1,14 @@
#/bin/bash
cp alpine.qcow2 tmp/alpine.qcow2
#cp alpine.qcow2 tmp/alpine.qcow2
sudo qemu-system-x86_64 \
-m 1024M \
-hda tmp/alpine.qcow2 \
-boot d \
-netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::80-:80,hostfwd=tcp::443-:443,hostfwd=tcp::8080-:8080 \
-device e1000,netdev=net0 \
-enable-kvm \
-cpu host
qemu-system-x86_64 -m 1024M -hda tmp/alpine.qcow2 -boot d -netdev user,id=net0,hostfwd=tcp::2222-:22 -device e1000,netdev=net0 -enable-kvm -cpu host