diff --git a/xCAT-server/lib/xcat/plugins/anaconda.pm b/xCAT-server/lib/xcat/plugins/anaconda.pm index 2496a7d90..7677e7d0e 100644 --- a/xCAT-server/lib/xcat/plugins/anaconda.pm +++ b/xCAT-server/lib/xcat/plugins/anaconda.pm @@ -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->( { diff --git a/xCAT-server/lib/xcat/plugins/sles.pm b/xCAT-server/lib/xcat/plugins/sles.pm index 15e53778b..9dbaf41bc 100644 --- a/xCAT-server/lib/xcat/plugins/sles.pm +++ b/xCAT-server/lib/xcat/plugins/sles.pm @@ -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->( {