Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vorburger <mike@vorburger.ch>2020-12-29 23:27:30 +0100
committerMichael Vorburger.ch <mike@vorburger.ch>2021-01-23 16:02:50 +0000
commit955343925b6c95dae0677f1cd27cc800f2293fb5 (patch)
tree66395a4aa0f1adc7e94ff15e91028978f375e208
parent833cbd5e72e6998ec266311abc9e48c16a6e9cb2 (diff)
make run_archiso forward VM's port 22 to host 60022, for easy SSH testing
-rwxr-xr-xscripts/run_archiso.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_archiso.sh b/scripts/run_archiso.sh
index 27b8730..b19d280 100755
--- a/scripts/run_archiso.sh
+++ b/scripts/run_archiso.sh
@@ -98,7 +98,7 @@ run_image() {
-audiodev pa,id=snd0 \
-device ich9-intel-hda \
-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 \
-global ICH9-LPC.disable_s3=1 \
-enable-kvm \