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:
Dominik Csapak 2017-05-29 10:50:57 +02:00 committed by Wolfgang Bumiller
parent 329ade0479
commit 0915ec99cb

View File

@ -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',