From 9122c45dd8db3d6ccfa4ccee1401b2919f58e505 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 20 Nov 2015 11:19:34 -0500 Subject: [PATCH] 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. --- perl-xCAT/xCAT/NodeRange.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/NodeRange.pm b/perl-xCAT/xCAT/NodeRange.pm index a28b67e2a..978f6ed1e 100644 --- a/perl-xCAT/xCAT/NodeRange.pm +++ b/perl-xCAT/xCAT/NodeRange.pm @@ -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');