From 4208f61069e369a3eae8c172605d8126e7b6055e Mon Sep 17 00:00:00 2001 From: yangsong Date: Thu, 22 Mar 2018 16:52:23 +0800 Subject: [PATCH] fix issue updatenode -P return nothing when xcatmaster not set (#4994) --- xCAT-server/lib/xcat/plugins/updatenode.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/updatenode.pm b/xCAT-server/lib/xcat/plugins/updatenode.pm index 899dd34f4..c0dfb4081 100644 --- a/xCAT-server/lib/xcat/plugins/updatenode.pm +++ b/xCAT-server/lib/xcat/plugins/updatenode.pm @@ -309,7 +309,7 @@ sub preprocess_updatenode # get server names as known by the nodes my %servernodes = - %{ xCAT::InstUtils->get_server_nodes($callback, $request->{node}) }; + %{ xCAT::InstUtils->get_server_nodes($callback, $request->{node},1) }; # it's possible that the nodes could have diff server names # do all the nodes for a particular server at once @@ -1555,7 +1555,7 @@ sub updatenoderunps # get server names as known by the nodes my %servernodes = - %{ xCAT::InstUtils->get_server_nodes($callback, \@$nodes,1) }; + %{ xCAT::InstUtils->get_server_nodes($callback, \@$nodes) }; # it's possible that the nodes could have diff server names # do all the nodes for a particular server at once