2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-15 19:01:44 +00:00

SLES12SP1 Support added to sles.pm

RHELS7.2 IDs added to discinfo.pm
This commit is contained in:
Patrick Lundgren
2015-11-12 16:53:52 -05:00
parent e13b495757
commit 2c22c82b4d
2 changed files with 8 additions and 0 deletions

View File

@ -80,6 +80,9 @@ require Exporter;
"1424360759.989976" => "rhels7.1", #x86_64
"1424360759.878519" => "rhels7.1", #ppc64
"1424361409.280138" => "rhels7.1", #ppc64le
"1446216863.790260" => "rhels7.2", #x86_64
"1446216863.764721" => "rhels7.2", #ppc64
"1446216863.771788" => "rhels7.2", #ppc64le
"1285193176.593806" => "rhelhpc6", #x86_64
"1305067719.718814" => "rhelhpc6.1",#x86_64
"1321545261.599847" => "rhelhpc6.2",#x86_64

View File

@ -1770,8 +1770,13 @@ sub copycd
# only set to $1 if the regex was successful
if ($_ =~ /sles:(\d+),/) {
$distname = "sles".$1;
} elsif ($_ =~ /sles:(\d+):sp(\d+),/) {
$distname = "sles".$1.".".$2;
} elsif ($_ =~ /Software Development Kit\s*(\d+)/) {
$distname = "sles".$1;
if ($_ =~ /sdk:(\d+):sp(\d+),/) {
$distname = "sles".$1.".".$2;
}
}
}
}