2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Another fix for noderange recursion

Noderange recursion had other scenarios where missing
nodes could be forgotten.  Fix this by having expandatom
append the option for all subordinate calls.
This commit is contained in:
Jarrod Johnson 2015-11-20 11:19:34 -05:00
parent 8ad335983d
commit 9122c45dd8

View File

@ -200,6 +200,7 @@ sub expandatom {
}
my $verify = (scalar(@_) >= 1 ? shift : 1);
my %options = @_; # additional options
$options{keepmissing} = 1;
my @nodes= ();
#TODO: these env vars need to get passed by the client to xcatd
my $nprefix=(defined ($ENV{'XCAT_NODE_PREFIX'}) ? $ENV{'XCAT_NODE_PREFIX'} : 'node');