[pve-devel] [PATCH v2 manager 1/2] fix #1451: allow some extra mount options for lxc

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 4 10:50:23 CEST 2019


On 7/4/19 10:50 AM, Oguz Bektas wrote:
> @@ -275,6 +281,21 @@ Ext.define('PVE.lxc.MountPointInputPanel', {
>  	    allowBlank: true
>  	},
>  	{
> +	    xtype: 'proxmoxKVComboBox',
> +	    name: 'mountoptions',
> +	    fieldLabel: gettext('Mount options'),
> +	    deleteEmpty: false,
> +	    comboItems: [
> +		['noatime', 'noatime'],
> +		['nodev', 'nodev'],
> +		['noexec', 'noexec'],
> +		['nosuid', 'nosuid']

while I told you off-list that I'd like to have an api call returning
the possible flags, for this list (which won't grow to fast, I'd guess)
it could be still OK as is, IMO. Maybe you still want to give it a try,
in the worst case it's a good learning exercise, iow, there's no worst
case ;)

> +	    ],
> +	    multiSelect: true,
> +	    value: [],
> +	    allowBlank: true
> +	},
> +	{
>  	    xtype: 'proxmoxcheckbox',
>  	    inputValue: '0', // reverses the logic
>  	    name: 'replicate',





More information about the pve-devel mailing list