2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

defect 4147 again - fix prescripts preprocess_request to only process nodes that have prescripts defined

This commit is contained in:
mellor 2014-06-03 11:32:07 -04:00
parent cd96e91c11
commit c501349c2f

View File

@ -95,7 +95,7 @@ sub preprocess_request
Getopt::Long::Configure("bundling");
Getopt::Long::Configure("pass_through");
GetOptions('l' => \$::LOCAL);
my $sn = xCAT::ServiceNodeUtils->getSNformattedhash($nodes, $service, "MN");
my $sn = xCAT::ServiceNodeUtils->getSNformattedhash(\@nodes, $service, "MN");
my @requests;
if ($::LOCAL) { #only handle the local nodes
#print "process local nodes: @$nodes\n";