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:
@ -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
|
||||
|
Reference in New Issue
Block a user