[pve-devel] [PATCH container] setup: allow centos to version 9

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jan 20 16:01:47 CET 2020


On 1/20/20 3:24 PM, Oguz Bektas wrote:
> so that we handle all the point releases between 8-9
> 
> 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 34430ff..d73c0cf 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.1) {
> +	if ($1 >= 5 && $1 <= 9) {
>  	    $version = $1;
>  	}
>      }
> 

applied, thanks! We know already allow a future 9.0 CentOS but that's not a real issue,
if it works good else we'd need to adapt stuff anyway.




More information about the pve-devel mailing list