fix bug for specify partion file

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-07-11 07:23:06 +00:00
parent 7c949b11b5
commit 293f9490b9

View File

@ -983,14 +983,13 @@ sub mkinstall
if ( $ref1 and $ref1->{'partitionfile'}){
$partfile = $ref1->{'partitionfile'};
}
#can not find the linux osiamge object, tell users to run "nodeset <nr> osimage=***"
else {
}
#can not find the linux osiamge object, tell users to run "nodeset <nr> osimage=***"
else {
$callback->(
{ error => [qq{ Cannot find the linux image called "$imgname", maybe you need to use the "nodeset <nr> osimage=<your_image_name>" command to set the boot state}], errorcode => [1] }
);
}
}
}
my @missingparms;