]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: Utils: change default Console order for vms
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 22 Apr 2021 06:39:02 +0000 (08:39 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Apr 2021 06:51:24 +0000 (08:51 +0200)
commit8aac63a5db614e1730d4cce6e57adef15ffecebd
treea38567ce6dc31ef6383ba1286f0d9c49391b6908
parenta91bd3c3707c0352670497e17a4edd7667055cd7
ui: Utils: change default Console order for vms

we want to use spice for vms more than xtermjs if both are available
(since spice must be chosen as display in that case)
so the resulting order of preference for vms is:
  spice
  xtermjs
  novnc

since all methods work for containers always, there we use
xtermjs by default, or what is chosen in the datacenter option

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Utils.js