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:
parent
ac50b60f73
commit
61effa015c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user