mirror of
https://github.com/luthermonson/go-proxmox.git
synced 2026-04-26 17:35:48 +03:00
[GH-ISSUE #25] Virtual Machine VNC Web Socket #8
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-proxmox#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @luthermonson on GitHub (Feb 7, 2022).
Original GitHub issue: https://github.com/luthermonson/go-proxmox/issues/25
After getting the termproxy and vncwebsocket end points working I've run into something with virtual machines which I will document here for others to see. The basics are you need a serial terminal for the websocket to work properly. You will need to add a
serial0: socketconfig to the VM like thisif you do not have the interface setup your proxy will return
unable to find a serial interface. When you have the socket seriali interface configured you will see the followingstarting serial terminal on interface serial0.Just adding the interface is not everything, you will need to follow the guide to configure the guest Virtual Machine actually use it, ideally this can be documented on how to setup cloud-init or ignition to bootstrap the serial0 socket device properly and move to a wiki how-to guide.