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:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user