update with use of _xcatpreprocessed in commented out example

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2009-07-15 15:39:16 +00:00
parent d97e54f897
commit 19d7549210

View File

@ -240,7 +240,7 @@ sub preprocess_request {
#sub preprocess_request {
# my $req = shift;
# $callback = shift;
# if ($req->{_xcatdest}) { return [$req]; } #Exit if the packet has been preprocessed in its history
# if ($req->{_xcatpreprocessed}->[0] == 1) { return [$req]; }
# my @requests = ({%$req}); #Start with a straight copy to reflect local instance
# my $sitetab = xCAT::Table->new('site');
# (my $ent) = $sitetab->getAttribs({key=>'xcatservers'},'value');
@ -250,6 +250,7 @@ sub preprocess_request {
# if (xCAT::Utils->thishostisnot($_)) {
# my $reqcopy = {%$req};
# $reqcopy->{'_xcatdest'} = $_;
# $reqcopy->{_xcatpreprocessed}->[0] = 1;
# push @requests,$reqcopy;
# }
# }