From 1593672eb9e2225cd2dfa3e000a16290e0a4f7e0 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 15 Jul 2009 14:50:04 +0000 Subject: [PATCH] update with use of _xcatpreprocessed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 00385e1be..8e52a7b81 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -151,7 +151,8 @@ sub preprocess_request { return [$request]; } - if ($request->{_xcatdest}) { return [$request]; } #exit if preprocessed + if ($request->{_xcatpreprocessed}->[0] == 1) { return [$request]; } + # exit if preprocesses my @requests; my $noderange = $request->{node}; # array ref @@ -224,6 +225,7 @@ sub preprocess_request { foreach my $snkey (keys %$sn){ my $reqcopy = {%$request}; $reqcopy->{'_xcatdest'} = $snkey; + $reqcopy->{_xcatpreprocessed}->[0] = 1; my $hyps1=$sn->{$snkey}; my @moreinfo=(); my @nodes=();