fix for osimage.postscripts and osimage.postbootscripts are not run on compute nodes

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2012-09-11 05:47:53 +00:00
parent 842cb67bd6
commit 12622d0ca6

View File

@ -661,7 +661,7 @@ sub makescript
# get postscripts for images
my $osimgname = $provmethod;
if($osimgname =~ /install|netboot|statelite/){
if($osimgname =~ /^install$|^netboot$|^statelite$/){
$osimgname = "$os-$arch-$provmethod-$profile";
}
my $et2 =