mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-04 08:18:00 +00:00
ui: lxc/CreateWizard: add a 'nesting' checkbox and enable it by default
but only enable the field for unprivileged containers. We do this, since newer containers need this feature for basic functions. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
8b74ec06eb
commit
75b0b1321a
@ -62,6 +62,16 @@ Ext.define('PVE.lxc.CreateWizard', {
|
||||
},
|
||||
fieldLabel: gettext('Unprivileged container'),
|
||||
},
|
||||
{
|
||||
xtype: 'proxmoxcheckbox',
|
||||
name: 'features',
|
||||
inputValue: 'nesting=1',
|
||||
value: true,
|
||||
bind: {
|
||||
disabled: '{!unprivileged}',
|
||||
},
|
||||
fieldLabel: gettext('Nesting'),
|
||||
},
|
||||
],
|
||||
column2: [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user