mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-13 15:49:24 +00:00
gui: qemu: add reboot button
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
fbd0335fbf
commit
c48535b16c
@ -143,6 +143,14 @@ Ext.define('PVE.qemu.Config', {
|
||||
},
|
||||
menu: {
|
||||
items: [{
|
||||
text: gettext('Reboot'),
|
||||
disabled: !caps.vms['VM.PowerMgmt'],
|
||||
confirmMsg: Proxmox.Utils.format_task_description('qmreboot', vmid),
|
||||
handler: function() {
|
||||
vm_command("reboot");
|
||||
},
|
||||
iconCls: 'fa fa-refresh'
|
||||
},{
|
||||
text: gettext('Pause'),
|
||||
disabled: !caps.vms['VM.PowerMgmt'],
|
||||
confirmMsg: Proxmox.Utils.format_task_description('qmpause', vmid),
|
||||
|
Loading…
Reference in New Issue
Block a user