Commit 95534392 authored by Michael Vorburger.ch's avatar Michael Vorburger.ch Committed by Michael Vorburger.ch
Browse files

make run_archiso forward VM's port 22 to host 60022, for easy SSH testing

parent 833cbd5e
...@@ -98,7 +98,7 @@ run_image() { ...@@ -98,7 +98,7 @@ run_image() {
-audiodev pa,id=snd0 \ -audiodev pa,id=snd0 \
-device ich9-intel-hda \ -device ich9-intel-hda \
-device hda-output,audiodev=snd0 \ -device hda-output,audiodev=snd0 \
-device virtio-net-pci,romfile=,netdev=net0 -netdev user,id=net0 \ -device virtio-net-pci,romfile=,netdev=net0 -netdev user,id=net0,hostfwd=tcp::60022-:22 \
-machine type=q35,smm=on,accel=kvm,usb=on,pcspk-audiodev=snd0 \ -machine type=q35,smm=on,accel=kvm,usb=on,pcspk-audiodev=snd0 \
-global ICH9-LPC.disable_s3=1 \ -global ICH9-LPC.disable_s3=1 \
-enable-kvm \ -enable-kvm \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment