mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 03:08:55 +00:00
ui: qemu/Config: disable xtermjs and spice until status is loaded
We enable/disable spice/xtermjs for the console button in the 'load' callback of the statusstore, depending on the vms capabilities, but until the first load there, the only safe option is novnc. So we have to disable xtermjs and spice on start, else a click on the button might open a window that cannot connect to the vm. a forum user probably triggered this: https://forum.proxmox.com/threads/unable-to-find-serial-interface-console-problem.87705 Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
d7a63207a3
commit
d7518964d9
@ -199,6 +199,8 @@ Ext.define('PVE.qemu.Config', {
|
||||
disabled: !caps.vms['VM.Console'],
|
||||
hidden: template,
|
||||
consoleType: 'kvm',
|
||||
enableSpice: false,
|
||||
enableXtermjs: false,
|
||||
consoleName: vm.name,
|
||||
nodename: nodename,
|
||||
vmid: vmid,
|
||||
|
Loading…
Reference in New Issue
Block a user