fix for bug 3074052: only pass the DSH_* and XCAT* ENV to xcatd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c227fc75ec
commit
67ed14f18c
@ -139,7 +139,9 @@ if ($::SECURITY) {
|
||||
}
|
||||
|
||||
foreach (keys %ENV) {
|
||||
push @{$cmdref->{environment}}, "$_=$ENV{$_}";
|
||||
if (/^DSH_/ || /^XCAT/) {
|
||||
push @{$cmdref->{environment}}, "$_=$ENV{$_}";
|
||||
}
|
||||
}
|
||||
|
||||
xCAT::Client::submit_request($cmdref,\&xCAT::Client::handle_response);
|
||||
|
Loading…
Reference in New Issue
Block a user