[pve-devel] [PATCH manager] remove "read-only" option from container root disk
Dominik Csapak
d.csapak at proxmox.com
Mon May 29 10:50:57 CEST 2017
with root-only enabled, you cannot start the conainer anymore,
so we remove it there entirely
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/lxc/ResourceEdit.js | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index 61a55393..bf7c76f1 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -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',
--
2.11.0
More information about the pve-devel
mailing list