fix defect 3707
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@17009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7b7085742f
commit
0a55da08fe
@ -1024,8 +1024,13 @@ sub fork_fanout_dsh
|
||||
&& (keys(%$targets_active) < $$options{'fanout'}))
|
||||
{
|
||||
my $user_target = shift @$targets_waiting;
|
||||
# now add export NODE=nodename to the pre-command;
|
||||
my $exportnode="export NODE=$user_target; ";
|
||||
# now add export NODE=nodename to the pre-command if not a device;
|
||||
my $exportnode;
|
||||
if (($$options{'devicetype'})) {
|
||||
$exportnode="";
|
||||
} else{
|
||||
$exportnode="export NODE=$user_target; ";
|
||||
}
|
||||
my $target_properties = $$resolved_targets{$user_target};
|
||||
my @commands;
|
||||
my $localShell =
|
||||
|
Loading…
Reference in New Issue
Block a user