From 1d66f1d241a5650eb014c9ec52037acecef1dfb6 Mon Sep 17 00:00:00 2001 From: mxi1 Date: Tue, 13 Apr 2010 05:54:35 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/anaconda.pm | 2 +- xCAT-server/lib/xcat/plugins/sles.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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->( {