Add back support for DSH_LIST environment variable needed

for remoteshell.expect use of xdsh. 

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2007-12-19 16:05:12 +00:00
parent 299fb094e7
commit b9d1ad084d

View File

@ -90,6 +90,14 @@ if (!($::NODE_RSH))
}
}
if (!($cmdref->{noderange}->[0])) # if no node range defined
{
if ($ENV{'DSH_LIST'}) # if file of nodes input
{
push(@{$cmdref->{env}}, "DSH_LIST=$ENV{'DSH_LIST'}");
}
}
if (!($::NODE_OPTS))
{
if ($ENV{'DSH_NODE_OPTS'})