From 67ed14f18c5f7c9928b83a934fd2e7be53657c3b Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 28 Sep 2010 02:35:12 +0000 Subject: [PATCH] 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 --- xCAT-client/bin/updatenode | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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);