-Fix litetree compatibility with 2.3 images

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5993 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-05-06 17:38:28 +00:00
parent 5666475789
commit 2e5e005ce4

View File

@ -70,7 +70,10 @@ sub process_request {
# if request comes from node post script .awk file.
}elsif($request->{'_xcat_clienthost'}){
my @nodenames = noderange($request->{'_xcat_clienthost'}->[0].",".$request->{'_xcat_clientfqdn'}->[0]);
$noderange = \@nodenames;
if (@nodenames) {
$noderange = \@nodenames;
$request->{node} = $noderange;
}
}else{
$callback->({error=>["Well Kemosabi, I can't figure out who you are."],errorcode=>[1]});
return;