fix a minor bug for osimgname

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-11-27 08:45:12 +00:00
parent 981e545f62
commit 4d3edda0cd

View File

@ -899,7 +899,7 @@ sub subvars_for_mypostscript {
my $osimgname = $provmethod;
if($osimgname =~ /install|netboot|statelite/){
if($osimgname =~ /^(install|netboot|statelite)$/){
$osimgname = "$os-$arch-$provmethod-$profile";
}