From 955343925b6c95dae0677f1cd27cc800f2293fb5 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Tue, 29 Dec 2020 23:27:30 +0100 Subject: make run_archiso forward VM's port 22 to host 60022, for easy SSH testing --- scripts/run_archiso.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 \ -- cgit v1.2.3-70-g09d2