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";