From 78e6ac16ffce6a31ee9b9429de07ec08b6ac1ae8 Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 17 Feb 2011 03:14:59 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/lsslp.pm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/lsslp.pm b/xCAT-server/lib/xcat/plugins/lsslp.pm index 14bbb3ed7..005a79b14 100644 --- a/xCAT-server/lib/xcat/plugins/lsslp.pm +++ b/xCAT-server/lib/xcat/plugins/lsslp.pm @@ -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; }