public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] close #4248: Add Reset button to VM right click menu
@ 2025-08-03 18:43 Amin Vakil via pve-devel
  2025-10-02  9:23 ` [pve-devel] applied: " Fiona Ebner
  0 siblings, 1 reply; 3+ messages in thread
From: Amin Vakil via pve-devel @ 2025-08-03 18:43 UTC (permalink / raw)
  To: pve-devel; +Cc: Amin Vakil

[-- Attachment #1: Type: message/rfc822, Size: 4764 bytes --]

From: Amin Vakil <info@aminvakil.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager] close #4248: Add Reset button to VM right click menu
Date: Sun,  3 Aug 2025 22:13:45 +0330
Message-ID: <20250803184350.33017-1-info@aminvakil.com>

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 <info@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



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [pve-devel] [PATCH manager] close #4248: Add Reset button to VM right click menu
@ 2025-08-03 18:34 Amin Vakil via pve-devel
  0 siblings, 0 replies; 3+ messages in thread
From: Amin Vakil via pve-devel @ 2025-08-03 18:34 UTC (permalink / raw)
  To: pve-devel; +Cc: Amin Vakil

[-- Attachment #1: Type: message/rfc822, Size: 4201 bytes --]

From: Amin Vakil <info@aminvakil.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH manager] close #4248: Add Reset button to VM right click menu
Date: Sun,  3 Aug 2025 22:04:16 +0330
Message-ID: <20250803183418.31593-1-info@aminvakil.com>

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 <info@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



[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-02  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-03 18:43 [pve-devel] [PATCH manager] close #4248: Add Reset button to VM right click menu Amin Vakil via pve-devel
2025-10-02  9:23 ` [pve-devel] applied: " Fiona Ebner
  -- strict thread matches above, loose matches on Subject: below --
2025-08-03 18:34 [pve-devel] " Amin Vakil via pve-devel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal