corrected #3170 sles10.4: copycds need -n sles10.4 to set the os level

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
immarvin 2012-11-13 06:39:11 +00:00
parent 9af37d48bb
commit 6521a0df7e

View File

@ -1056,7 +1056,7 @@ sub copycd
close($content);
foreach (@contents) {
if (/^VERSION/) {
my @verpair = split;
my @verpair = split /\s+|-/;
$detdistname = "sles".$verpair[1];
unless ($distname) { $distname = $detdistname; }
}