Add some comments about how xdsh handles the -E <file>

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-08-29 17:03:22 +00:00
parent bd52d4bc3b
commit 7ad66da239

View File

@ -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);