mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-09 17:06:16 +00:00
remove "read-only" option from container root disk
with root-only enabled, you cannot start the conainer anymore, so we remove it there entirely Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
329ade0479
commit
0915ec99cb
@ -491,18 +491,19 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
me.column2 = [
|
me.column2 = [
|
||||||
{
|
|
||||||
xtype: 'pvecheckbox',
|
|
||||||
name: 'ro',
|
|
||||||
defaultValue: 0,
|
|
||||||
fieldLabel: gettext('Read-only'),
|
|
||||||
hidden: me.insideWizard
|
|
||||||
},
|
|
||||||
me.acl,
|
me.acl,
|
||||||
me.quota
|
me.quota
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!isroot) {
|
if (!isroot) {
|
||||||
|
me.column2.unshift({
|
||||||
|
xtype: 'pvecheckbox',
|
||||||
|
name: 'ro',
|
||||||
|
defaultValue: 0,
|
||||||
|
fieldLabel: gettext('Read-only'),
|
||||||
|
hidden: me.insideWizard
|
||||||
|
});
|
||||||
|
|
||||||
me.backup = Ext.createWidget('pvecheckbox',{
|
me.backup = Ext.createWidget('pvecheckbox',{
|
||||||
xtype: 'pvecheckbox',
|
xtype: 'pvecheckbox',
|
||||||
name: 'backup',
|
name: 'backup',
|
||||||
|
Loading…
Reference in New Issue
Block a user