[pve-devel] [PATCH Fix: CentOS 8 lxc start After update & upgrade PVE 5.4 1/1] Fix: CentOS 8 After Update & Upgrade PVE-5.4

Oguz Bektas o.bektas at proxmox.com
Mon Mar 2 14:51:44 CET 2020


hi,

i assume this is for the older 5.x branch. you should mention that in
your message.

in the 6.x branch this is already set to '<= 9' so you can do that here
as well.

On Mon, Mar 02, 2020 at 02:33:32PM +0100, Moayad Almalat wrote:
> Signed-off-by: Moayad Almalat <m.almalat 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
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list