2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 09:50:19 +00:00

fix issue updatenode -P return nothing when xcatmaster not set (#4994)

This commit is contained in:
yangsong
2018-03-22 16:52:23 +08:00
committed by Bin Xu
parent 0de2ea6158
commit 4208f61069

View File

@ -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