Chain induced state transitions now properly update tftp hosted configuration files

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@598 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-27 17:08:26 +00:00
parent 24dfee27a4
commit 06d7e0f262

View File

@ -156,6 +156,10 @@ sub setdestiny {
sub nextdestiny {
my $callnodeset=0;
if (scalar(@_)) {
$callnodeset=1;
}
my @nodes;
if ($request and $request->{node}) {
if (ref($request->{node})) {
@ -210,6 +214,11 @@ sub nextdestiny {
setdestiny(\%requ);
getdestiny();
}
if ($callnodeset) {
$subreq->({command=>['nodeset'],
node=> \@nodes,
arg=>['enact']});
}
}