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:
Dominik Csapak 2021-08-04 12:51:11 +02:00 committed by Wolfgang Bumiller
parent 8b74ec06eb
commit 75b0b1321a

View File

@ -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: [
{