diff --git a/xCAT-client/bin/updatenode b/xCAT-client/bin/updatenode index 7223747d3..ee0964496 100755 --- a/xCAT-client/bin/updatenode +++ b/xCAT-client/bin/updatenode @@ -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);