The qemu config in the backend already allows specifying a timeout value. This patch introduces a text field in the Options submenu when a VM is selected, through which the VM start timeout can be set in the config.
Signed-off-by: Daniel Tschlatscher <d.tschlatsc...@proxmox.com> --- www/manager6/qemu/Options.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/www/manager6/qemu/Options.js b/www/manager6/qemu/Options.js index a1def4bb..c565066a 100644 --- a/www/manager6/qemu/Options.js +++ b/www/manager6/qemu/Options.js @@ -338,6 +338,24 @@ Ext.define('PVE.qemu.Options', { }, } : undefined, }, + timeout: { + header: gettext('VM start timeout'), + defaultValue: Proxmox.Utils.defaultText, + renderer: val => val, + editor: caps.vms['VM.Config.Options'] ? { + xtype: 'proxmoxWindowEdit', + subject: gettext('VM start timeout'), + items: { + xtype: 'proxmoxintegerfield', + name: 'timeout', + minValue: 0, + maxValue: 2680000, + fieldLabel: gettext('Timeout (sec)'), + emptyText: Proxmox.Utils.defaultText, + deleteEmpty: true, + }, + } : undefined, + }, hookscript: { header: gettext('Hookscript'), }, -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel