mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 04:36:29 +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 = [
|
||||
{
|
||||
xtype: 'pvecheckbox',
|
||||
name: 'ro',
|
||||
defaultValue: 0,
|
||||
fieldLabel: gettext('Read-only'),
|
||||
hidden: me.insideWizard
|
||||
},
|
||||
me.acl,
|
||||
me.quota
|
||||
];
|
||||
|
||||
if (!isroot) {
|
||||
me.column2.unshift({
|
||||
xtype: 'pvecheckbox',
|
||||
name: 'ro',
|
||||
defaultValue: 0,
|
||||
fieldLabel: gettext('Read-only'),
|
||||
hidden: me.insideWizard
|
||||
});
|
||||
|
||||
me.backup = Ext.createWidget('pvecheckbox',{
|
||||
xtype: 'pvecheckbox',
|
||||
name: 'backup',
|
||||
|
Loading…
Reference in New Issue
Block a user