From 7ad66da23914f9c95a916c2b3368bfbbd893e28a Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 29 Aug 2012 17:03:22 +0000 Subject: [PATCH] Add some comments about how xdsh handles the -E git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 10ce281f4..62726a82f 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -990,6 +990,8 @@ sub fork_fanout_dsh $rsh_config{'command'} = "$$options{'pre-command'}"; my $tmp_env_file; + # for the -E flag here we build and copy the -E env variable + # file to the nodes if ($$options{'environment'}) { @@ -1030,7 +1032,7 @@ sub fork_fanout_dsh $rsp->{data}->[0] = "TRACE:Environment: Exporting File.@env_rcp_command "; $dsh_trace && (xCAT::MsgUtils->message("I", $rsp, $::CALLBACK)); - + # copy the Env Variable input file to the nodes my @env_rcp_process = xCAT::DSHCore->fork_no_output($user_target, @env_rcp_command); waitpid($env_rcp_process[0], undef);