[pve-devel] applied: [PATCH container] setup: allow centos 8.1

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Jan 20 08:44:16 CET 2020


applied

On Fri, Jan 17, 2020 at 01:43:45PM +0100, Oguz Bektas wrote:
> [0]: https://forum.proxmox.com/threads/centos-8-1-lxc-unsupported-centos-release.63530/
> 
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
>  src/PVE/LXC/Setup/CentOS.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/PVE/LXC/Setup/CentOS.pm b/src/PVE/LXC/Setup/CentOS.pm
> index cc4c5bb..34430ff 100644
> --- a/src/PVE/LXC/Setup/CentOS.pm
> +++ b/src/PVE/LXC/Setup/CentOS.pm
> @@ -20,7 +20,7 @@ sub new {
>      my $version;
>  
>      if ($release =~ m/release\s+(\d+\.\d+)(\.\d+)?/) {
> -	if ($1 >= 5 && $1 <= 8) {
> +	if ($1 >= 5 && $1 <= 8.1) {
>  	    $version = $1;
>  	}
>      }
> -- 
> 2.20.1



More information about the pve-devel mailing list