]> git.proxmox.com Git - qemu-server.git/commit
qm: assume correct VNC setup in 'vncproxy', disallow passwordless
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 27 May 2021 10:27:51 +0000 (12:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 May 2021 09:31:15 +0000 (11:31 +0200)
commit2dc0eb61e87b644494ac33bd4deb9197ffe6af72
tree46ddfe04aa2ca84baa6e15c7f19b644e477dcfd6
parent378ad769ddd11dac7344015d5d0a4695decadad4
qm: assume correct VNC setup in 'vncproxy', disallow passwordless

The QMP 'change' command is no longer available since QEMU 6.0, so this
cannot work - instead of replacing it, we can just remove it however.

The 'if' branch would only set the VNC socket path anew and enable
password mode, which is always set and enabled on startup already.
The 'else' branch was intended for certificate login (?), which
according to the FIXME comment is long gone anyway - simply forbid
'vncproxy' without the PVE ticket environment variable set.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/CLI/qm.pm