bug fix where nodeset wasn't being called on autodiscovery

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
vallard 2010-01-21 06:11:24 +00:00
parent 4e7d1736ed
commit 64325f44ea

View File

@ -464,7 +464,8 @@ sub getdestiny {
next;
}
unless ($ref->{currstate}) { #Has a record, but not yet in a state...
return nextdestiny(0); #Becomes a nextdestiny...
# we set a 1 here so that it does the nodeset to create tftpboot files
return nextdestiny(0,1); #Becomes a nextdestiny...
# my @chain = split /,/,$ref->{chain};
# $ref->{currstate} = shift @chain;
# $chaintab->setNodeAttribs($node,{currstate=>$ref->{currstate}});