]> git.proxmox.com Git - pve-container.git/commitdiff
setup: allow centos to version 9
authorOguz Bektas <o.bektas@proxmox.com>
Mon, 20 Jan 2020 14:24:39 +0000 (15:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 20 Jan 2020 15:00:42 +0000 (16:00 +0100)
so that we handle all the point releases between 8-9

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
src/PVE/LXC/Setup/CentOS.pm

index 34430ff2135348434a362cbd2bcfcccd01977947..d73c0cff8294a5b5c8aa7d0c213b5c020f18c19b 100644 (file)
@@ -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;
        }
     }