make getpostscript.awk use the template method, instead of the original method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e73bbc20a0
commit
4d22bb9970
@ -81,7 +81,9 @@ sub process_request
|
||||
if ($request->{scripttype}) { $state = $request->{scripttype}->[0];}
|
||||
|
||||
require xCAT::Postage;
|
||||
my @scriptcontents = xCAT::Postage::makescript($client,$state,$callback);
|
||||
#my @scriptcontents = xCAT::Postage::makescript($client,$state,$callback); # the original method
|
||||
my @scriptcontents = xCAT::Postage::makescript([$client],$state,$callback); # the new method, use the template
|
||||
|
||||
if (scalar(@scriptcontents)) {
|
||||
$rsp->{data} = \@scriptcontents;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user