One is in the extended support phase, it should not be used but
people report that the CentOS 6 code path works just fine, so why
not...
The other is for the upcoming CentOS 8, while not fully testable for
compatibility yet, CentOS 7 code path should do the trick, else
we'll need to adapt it anyway, so see this as experimental
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit
9b940fef409e443713cf8ae3ca4f42f75f756f9e)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
my $version;
if ($release =~ m/release\s+(\d+\.\d+)(\.\d+)?/) {
- if ($1 >= 6 && $1 < 8) {
+ if ($1 >= 5 && $1 <= 8) {
$version = $1;
}
}