-Implement RHEL6 HPC compute node edition

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-11-11 15:06:22 +00:00
parent 69b7bf8527
commit 8942ab84fc

View File

@ -55,6 +55,7 @@ my %distnames = (
"1269260915.992102" => "rhels5.5", #i386
"1269263646.691048" => "rhels5.5", #x86_64
"1285193176.460470" => "rhels6", #x86_64
"1285193176.593806" => "rhelhpc6",
"1194015916.783841" => "fedora8",
"1194015385.299901" => "fedora8",
"1210112435.291709" => "fedora9",
@ -787,7 +788,7 @@ sub mkinstall
$platform=xCAT_plugin::anaconda::getplatform($os);
my $genos = $os;
$genos =~ s/\..*//;
if ($genos =~ /rh.*s(\d*)/)
if ($genos =~ /rh.*(\d+)\z/)
{
unless (-r "$installroot/custom/install/$platform/$profile.$genos.$arch.tmpl"
or -r "/install/custom/install/$platform/$profile.$genos.tmpl"