Serve a localhost VNC display from test VMs
Runs stay headless, but a viewer on 127.0.0.1:5905 can watch the driven install live or inspect the acceptance VM left up by --keep-running.
This commit is contained in:
1 file changed
+1
@@ -211,6 +211,7 @@ start_vm() {
|
|||||||
-device virtio-blk-pci,drive=drive0,bootindex=1 \
|
-device virtio-blk-pci,drive=drive0,bootindex=1 \
|
||||||
-device virtio-vga \
|
-device virtio-vga \
|
||||||
-display none \
|
-display none \
|
||||||
|
-vnc 127.0.0.1:5 \
|
||||||
-usb -device usb-tablet \
|
-usb -device usb-tablet \
|
||||||
-netdev user,id=net0,hostfwd=tcp:127.0.0.1:$SSH_PORT-:22 \
|
-netdev user,id=net0,hostfwd=tcp:127.0.0.1:$SSH_PORT-:22 \
|
||||||
-device virtio-net-pci,netdev=net0 \
|
-device virtio-net-pci,netdev=net0 \
|
||||||
|
|||||||
Reference in new issue
Block a user