From: Amin Vakil via pve-devel <pve-devel@lists.proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Amin Vakil <info@aminvakil.com>
Subject: [pve-devel] [PATCH manager] close #4248: Add Reset button to VM right click menu
Date: Sun, 3 Aug 2025 22:04:16 +0330 [thread overview]
Message-ID: <mailman.630.1754383164.367.pve-devel@lists.proxmox.com> (raw)
[-- 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>
---
| 7 +++++++
1 file changed, 7 insertions(+)
--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
next reply other threads:[~2025-08-05 8:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-03 18:34 Amin Vakil via pve-devel [this message]
2025-08-03 18:43 Amin Vakil via pve-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.630.1754383164.367.pve-devel@lists.proxmox.com \
--to=pve-devel@lists.proxmox.com \
--cc=info@aminvakil.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox