mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	add support for ENV variable input
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -189,6 +189,10 @@ if ($ENV{'DSHEXECUTE'}) | ||||
| { | ||||
|     push(@{$cmdref->{env}}, "DSHEXECUTE=$ENV{'DSHEXECUTE'}"); | ||||
| } | ||||
| if ($ENV{'DSH_ENVIRONMENT'}) | ||||
| { | ||||
|     push(@{$cmdref->{env}}, "DSH_ENVIRONMENT=$ENV{'DSH_ENVIRONMENT'}"); | ||||
| } | ||||
|  | ||||
| xCAT::Client::submit_request($cmdref, \&xCAT::Client::handle_response); | ||||
| exit $xCAT::Client::EXITCODE; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user