mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 20:00:19 +00:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user