make run_archiso forward VM's port 22 to host 60022, for easy SSH testing
This commit is contained in:
parent
833cbd5e72
commit
955343925b
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user