Fix bug 3177685 :lsslp command on RH6 Linux provide slptool error. Disable the hierarchy of lsslp.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-02-17 03:14:59 +00:00
parent f8a1a3b944
commit 78e6ac16ff

View File

@ -3209,22 +3209,22 @@ sub preprocess_request {
# build an individual request for each service node
###########################################
my %sv_hash=();
my @all = xCAT::Utils::getAllSN();
foreach (@all) {
$sv_hash{$_}=1;
}
#my @all = xCAT::Utils::getAllSN();
#foreach (@all) {
# $sv_hash{$_}=1;
#}
###########################################
# build each request for each service node
###########################################
my @result = ();
my $mncopy = {%$req};
push @result, $mncopy;
foreach my $sn (keys (%sv_hash)) {
my $reqcopy = {%$req};
$reqcopy->{_xcatdest} = $sn;
$reqcopy->{_xcatpreprocessed}->[0] = 1;
push @result, $reqcopy;
}
#foreach my $sn (keys (%sv_hash)) {
# my $reqcopy = {%$req};
# $reqcopy->{_xcatdest} = $sn;
# $reqcopy->{_xcatpreprocessed}->[0] = 1;
# push @result, $reqcopy;
#}
return \@result;
}