[pve-devel] [PATCH manager v2 2/2] ui: lxc/CreateWizard: add a 'nesting' checkbox and enable it by default
Dominik Csapak
d.csapak at proxmox.com
Wed Aug 4 12:51:11 CEST 2021
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 at proxmox.com>
---
www/manager6/lxc/CreateWizard.js | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/www/manager6/lxc/CreateWizard.js b/www/manager6/lxc/CreateWizard.js
index bd84dece..aead515f 100644
--- a/www/manager6/lxc/CreateWizard.js
+++ b/www/manager6/lxc/CreateWizard.js
@@ -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: [
{
--
2.30.2
More information about the pve-devel
mailing list