]> git.proxmox.com Git - qemu-server.git/commit
fix #4522: api: vncproxy: also set environment variable for ticket without websocket
authorFiona Ebner <f.ebner@proxmox.com>
Mon, 16 Oct 2023 13:12:26 +0000 (15:12 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Oct 2023 14:43:47 +0000 (16:43 +0200)
commit62c190492154d932c27ace030c0e84eda5f81a3f
treeb173cb19cffccc1a879e0a0af5d2fcc1b41e86dc
parent876d993886c1d674fc004c8bf1895316dc5d4a94
fix #4522: api: vncproxy: also set environment variable for ticket without websocket

Since commit 2dc0eb61 ("qm: assume correct VNC setup in 'vncproxy',
disallow passwordless"), 'qm vncproxy' will just fail when the
LC_PVE_TICKET environment variable is not set. Since it is not only
required in combination with websocket, drop that conditional.

For the non-serial case, this was the last remaining effect of the
'websocket' parameter, so update the parameter description.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/API2/Qemu.pm