mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-08 16:13:54 +00:00
disable suspend/resume on containers
since this feature is not really working at the moment, disable it in the gui we can reenable it when it works reliably Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
546e0c5c22
commit
1b7117805b
@ -65,29 +65,29 @@ Ext.define('PVE.lxc.CmdMenu', {
|
|||||||
win.show();
|
win.show();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
text: gettext('Suspend'),
|
// text: gettext('Suspend'),
|
||||||
iconCls: 'fa fa-fw fa-pause',
|
// iconCls: 'fa fa-fw fa-pause',
|
||||||
disabled: stopped || suspended,
|
// disabled: stopped || suspended,
|
||||||
handler: function() {
|
// handler: function() {
|
||||||
var msg = PVE.Utils.format_task_description('vzsuspend', vmid);
|
// var msg = PVE.Utils.format_task_description('vzsuspend', vmid);
|
||||||
Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
// Ext.Msg.confirm(gettext('Confirm'), msg, function(btn) {
|
||||||
if (btn !== 'yes') {
|
// if (btn !== 'yes') {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
vm_command('suspend');
|
// vm_command('suspend');
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
text: gettext('Resume'),
|
// text: gettext('Resume'),
|
||||||
iconCls: 'fa fa-fw fa-play',
|
// iconCls: 'fa fa-fw fa-play',
|
||||||
disabled: !suspended,
|
// disabled: !suspended,
|
||||||
handler: function() {
|
// handler: function() {
|
||||||
vm_command('resume');
|
// vm_command('resume');
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
{
|
{
|
||||||
text: gettext('Shutdown'),
|
text: gettext('Shutdown'),
|
||||||
iconCls: 'fa fa-fw fa-power-off',
|
iconCls: 'fa fa-fw fa-power-off',
|
||||||
|
Loading…
Reference in New Issue
Block a user