From 64325f44ea25fae8861c269262b0479d1bbdba35 Mon Sep 17 00:00:00 2001 From: vallard Date: Thu, 21 Jan 2010 06:11:24 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/destiny.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/destiny.pm b/xCAT-server/lib/xcat/plugins/destiny.pm index eab73bcfb..4c1cc43c1 100644 --- a/xCAT-server/lib/xcat/plugins/destiny.pm +++ b/xCAT-server/lib/xcat/plugins/destiny.pm @@ -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}});