]> git.proxmox.com Git - pve-container.git/commitdiff
CentOS & derivates: also support all 9.x point releases
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 22 Nov 2022 09:23:28 +0000 (10:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 22 Nov 2022 09:23:28 +0000 (10:23 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/LXC/Setup/CentOS.pm

index e8dfc330dc7315ac5e436bae3df77758192b0896..00fecc666908da2cfa54fb0103938e40cff4775a 100644 (file)
@@ -22,7 +22,7 @@ sub new {
     my $version;
 
     if (($release =~ m/release\s+(\d+\.\d+)(\.\d+)?/) || ($release =~ m/release\s+(\d+)/)) {
-       if ($1 >= 5 && $1 <= 9) {
+       if ($1 >= 5 && $1 < 10) {
            $version = $1;
        }
     }