update with use of _xcatpreprocessed

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-15 15:10:54 +00:00
parent 9fefa4290b
commit 01bec082cc

View File

@ -690,7 +690,7 @@ sub guestcmd {
sub preprocess_request {
my $request = shift;
if ($request->{_xcatdest}) { return [$request]; } #exit if preprocessed
if ($request->{_xcatpreprocessed}->[0] == 1) { return [$request]; }
my $callback=shift;
my @requests;
@ -731,6 +731,7 @@ sub preprocess_request {
my $reqcopy = {%$request};
$reqcopy->{node} = $sn->{$snkey};
$reqcopy->{'_xcatdest'} = $snkey;
$reqcopy->{_xcatpreprocessed}->[0] = 1;
push @requests, $reqcopy;
}
return \@requests;