From c501349c2f247166ee0833d7f4a5561bfa86ac91 Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 3 Jun 2014 11:32:07 -0400 Subject: [PATCH] defect 4147 again - fix prescripts preprocess_request to only process nodes that have prescripts defined --- xCAT-server/lib/xcat/plugins/prescripts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/prescripts.pm b/xCAT-server/lib/xcat/plugins/prescripts.pm index ca9988ac3..505e2659f 100644 --- a/xCAT-server/lib/xcat/plugins/prescripts.pm +++ b/xCAT-server/lib/xcat/plugins/prescripts.pm @@ -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";