aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-29 12:10:38 +0000
committerMatthew Lemon <y@yulqen.org>2024-10-29 12:10:38 +0000
commit30bb53c4b8a4eb7747e12bc930161892127fc93a (patch)
tree3c78b403bd9249e128d46ac4ad3ea16ba43ebd84
parent310d033d03b059c01d49b827403720e2f2d93778 (diff)
Better command to launch openbsd vm with graphical interface
-rwxr-xr-x[-rw-r--r--]launch_openbsd_vm_with_display.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch_openbsd_vm_with_display.sh b/launch_openbsd_vm_with_display.sh
index edf003b..b42cef9 100644..100755
--- a/launch_openbsd_vm_with_display.sh
+++ b/launch_openbsd_vm_with_display.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-qemu-system-x86_64 -cpu host -accel kvm -m 4096 -drive file=$HOME/vms/os/openbsd7.6/openbsd.qcow2 -display default
+qemu-system-x86_64 -cpu host -accel kvm -m 4096 -drive file=$HOME/vms/os/openbsd7.6/openbsd.qcow2 -display default -nic user,hostfwd=tcp::10022-:22 -vga std