mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 10:10:14 +00:00
Add the possibility to create an unprivileged container at creation time in the GUI.
The setting is afterwards displayed as a read only option in the option time
This commit is contained in:
parent
3a84e2b425
commit
a97bc80075
@ -207,6 +207,12 @@ Ext.define('PVE.lxc.CreateWizard', {
|
||||
fieldLabel: gettext('Hostname'),
|
||||
skipEmptyText: true,
|
||||
allowBlank: true
|
||||
},
|
||||
{
|
||||
xtype: 'pvecheckbox',
|
||||
name: 'unprivileged',
|
||||
value: '',
|
||||
fieldLabel: gettext('Unprivileged container')
|
||||
}
|
||||
],
|
||||
column2: column2,
|
||||
|
@ -135,7 +135,12 @@ Ext.define('PVE.lxc.Options', {
|
||||
fieldLabel: gettext('Enabled')
|
||||
}
|
||||
} : undefined
|
||||
}
|
||||
},
|
||||
unprivileged: {
|
||||
header: gettext('Unprivileged container'),
|
||||
renderer: PVE.Utils.format_boolean,
|
||||
defaultValue: 0
|
||||
},
|
||||
};
|
||||
|
||||
var baseurl = 'nodes/' + nodename + '/lxc/' + vmid + '/config';
|
||||
|
Loading…
Reference in New Issue
Block a user