Use node list array instead of obj hash keys.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2480 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-11-08 19:04:07 +00:00
parent 2c16741262
commit 2fae07e244

View File

@ -723,7 +723,7 @@ ll~;
# update the node definitions with the new osimage - if provided
my %nodeattrs;
foreach my $node (keys %objhash) {
foreach my $node (@nodelist) {
chomp $node;
if (!grep(/^$node$/, @nodesfailed)) {
@ -4256,7 +4256,7 @@ ll~;
# update the node definitions with the new osimage - if provided
#
my %nodeattrs;
foreach my $node (keys %objhash) {
foreach my $node (@nodelist) {
chomp $node;
if (!grep(/^$node$/, @nodesfailed)) {
# change the node def if we were successful