[pve-devel] applied: [PATCH container] fix #2104: config "features: mount" regex pattern

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Feb 19 14:08:33 CET 2019


On 2/19/19 1:52 PM, Oguz Bektas wrote:
> this adds an underscore '_' character to the regex match for "features:
> mount", which allows rpc_pipefs to be parsed correctly.
> 
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
>  src/PVE/LXC/Config.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
> index 7274e3a..7762533 100644
> --- a/src/PVE/LXC/Config.pm
> +++ b/src/PVE/LXC/Config.pm
> @@ -284,7 +284,7 @@ my $features_desc = {
>  	    ." permission of the devices cgroup, mounting an NFS file system can"
>  	    ." block the host's I/O completely and prevent it from rebooting, etc.",
>  	format_description => 'fstype;fstype;...',
> -	pattern => qr/[a-zA-Z0-9; ]+/,
> +	pattern => qr/[a-zA-Z0-9_; ]+/,
>      },
>      nesting => {
>  	optional => 1,
> 

applied, thanks!




More information about the pve-devel mailing list