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:
parent
d8021e73fb
commit
1d66f1d241
@ -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->(
|
||||
{
|
||||
|
@ -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->(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user