update the usage infor for the image name for statelite;

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mxi1 2010-04-13 05:54:35 +00:00
parent d8021e73fb
commit 1d66f1d241
2 changed files with 3 additions and 3 deletions

View File

@ -305,7 +305,7 @@ sub mknetboot
)
{
if($statelite){
$callback->({error=> ["$node: statelite image $osver-$arch-$profile does not exist"], errorcode =>[1] });
$callback->({error=> ["$node: statelite image $osver-$arch-statelite-$profile does not exist"], errorcode =>[1] });
}else{
$callback->(
{

View File

@ -182,8 +182,8 @@ sub mknetboot
)
{
if($statelite) {
# TODO: maybe the $osver-$arch-$profile record doesn't exist in osimage, but it the statelite rootimg can exist
$callback->({error=> ["$node: statelite image $osver-$arch-$profile doesn't exist; or kernel/initrd.gz doesn't exist"], errorcode => [1]});
# TODO: maybe the $osver-$arch-statelite-$profile record doesn't exist in osimage, but it the statelite rootimg can exist
$callback->({error=> ["$node: statelite image $osver-$arch-statelite-$profile doesn't exist; or kernel/initrd.gz doesn't exist"], errorcode => [1]});
} else {
$callback->(
{