From 8942ab84fcdf6a4f1a394c2e97bf125714a2813a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 11 Nov 2010 15:06:22 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 1e0d99611..cbcfcf3b9 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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"