Add support for DSH_ENVIRONMENT
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a4119f52a2
commit
405ad47b44
@ -188,6 +188,12 @@ 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