mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 03:15:21 +00:00
ui: add checkbox to bulk migrate window to allow migration with local disks
Signed-off-by: Tim Marx <t.marx@proxmox.com>
This commit is contained in:
parent
d8d1727191
commit
3d62533052
@ -18,6 +18,7 @@ Ext.define('PVE.window.BulkAction', {
|
||||
|
||||
submit: function(params) {
|
||||
var me = this;
|
||||
|
||||
Proxmox.Utils.API2Request({
|
||||
params: params,
|
||||
url: '/nodes/' + me.nodename + '/' + me.action,
|
||||
@ -83,6 +84,26 @@ Ext.define('PVE.window.BulkAction', {
|
||||
fieldLabel: gettext('Parallel jobs'),
|
||||
allowBlank: false
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxcheckbox',
|
||||
name: 'with-local-disks',
|
||||
checked: false,
|
||||
uncheckedValue: 0,
|
||||
fieldLabel: gettext('Migrate VMs with local disks'),
|
||||
listeners: {
|
||||
change: function(cb, val) {
|
||||
me.down('#localdiskwarning').setVisible(val);
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
itemId: 'localdiskwarning',
|
||||
xtype: 'displayfield',
|
||||
userCls: 'pmx-hint',
|
||||
value: 'Warning: Migration with local disks might take long.',
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
itemId: 'lxcwarning',
|
||||
xtype: 'displayfield',
|
||||
|
Loading…
Reference in New Issue
Block a user