--- Begin Message ---
This has been first brought up in #4248.
https://bugzilla.proxmox.com/show_bug.cgi?id=4248
To add reset option for VMs.
Also this patch does not add reset option to containers as they do not
have this option and reboot is already present for containers.
I've tested this locally by editing
/usr/share/pve-manager/js/pvemanagerlib.js and it worked fine
Signed-off-by: Amin Vakil <i...@aminvakil.com>
---
www/manager6/qemu/CmdMenu.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www/manager6/qemu/CmdMenu.js b/www/manager6/qemu/CmdMenu.js
index 5fa9407d..adf64672 100644
--- a/www/manager6/qemu/CmdMenu.js
+++ b/www/manager6/qemu/CmdMenu.js
@@ -111,6 +111,13 @@ Ext.define('PVE.qemu.CmdMenu', {
tooltip: Ext.String.format(gettext('Reboot {0}'), 'VM'),
handler: () => confirmedVMCommand('reboot'),
},
+ {
+ text: gettext('Reset'),
+ iconCls: 'fa fa-fw fa-bolt',
+ disabled: stopped,
+ tooltip: Ext.String.format(gettext('Reset {0}'), 'VM'),
+ handler: () => confirmedVMCommand('reset'),
+ },
{
xtype: 'menuseparator',
hidden:
--
2.50.1
--- End Message ---
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel