[pve-devel] applied: [PATCH manager] remove "read-only" option from container root disk
Wolfgang Bumiller
w.bumiller at proxmox.com
Fri Jun 2 09:37:35 CEST 2017
applied to master & stable-4
On Mon, May 29, 2017 at 10:50:57AM +0200, Dominik Csapak wrote:
> 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