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; 2+ 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] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] close #4248: Add Reset button to VM right click menu
  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 ` Fiona Ebner
  0 siblings, 0 replies; 2+ messages in thread
From: Fiona Ebner @ 2025-10-02  9:23 UTC (permalink / raw)
  To: Amin Vakil via pve-devel

On Sun, 03 Aug 2025 22:13:45 +0330, Amin Vakil via pve-devel wrote:
> 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.
> 
> [...]

Applied, thank you for the contribution! I made a few changes to the
commit message to better match how we usually write them.

[1/1] close #4248: Add Reset button to VM right click menu
      commit: 3ed06d66d340aeb1c367f2d1307f96cb37b5b135


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


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

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

Thread overview: 2+ 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

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