2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-10-20 14:45:45 +00:00

Connect Proxmox VNC sessions through the manager

The vncwebsocket URL used the name of the Proxmox node running the
guest as host. That name often does not resolve on the management
node, and the fingerprint checked is the one of the manager anyway.
Connect to the manager instead, which forwards the websocket to the
right node.
This commit is contained in:
Markus Hilger
2026-10-08 01:27:56 +02:00
parent def5fa3753
commit 6cc0567c2d
@@ -55,7 +55,9 @@ class KvmConnection:
'PVEAuthCookie': pac,
}
self.protos = ['binary']
self.host = host
# The manager issued the ticket and owns the pinned fingerprint. It forwards the
# websocket to the node running the guest, whose name may not resolve here.
self.host = consdata['server']
self.portnum = 8006
self.password = consdata['ticket']