diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index ccae06594..ea36e88f3 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -968,14 +968,18 @@ sub fork_fanout_dsh || $$options{'node-rsh-defaults'}{$context}; ($remote_shell =~ /\/ssh$/) && ($rsh_extension = 'SSH'); + # will not set -n for any command, causing problems + # with running xdsh to install rpms and start xcatd on AIX # if IB switch device, do not set -n, causes no returncode - if (($$options{'devicetype'})) { - $rsh_config{'options'} = - $$options{'node-options'}{$$target_properties{'context'}}; - } else { # not a device - $rsh_config{'options'} = "-n " - . $$options{'node-options'}{$$target_properties{'context'}}; - } + #if (($$options{'devicetype'})) { + + $rsh_config{'options'} = + $$options{'node-options'}{$$target_properties{'context'}}; + + #} else { # not a device + # $rsh_config{'options'} = "-n " + #. $$options{'node-options'}{$$target_properties{'context'}}; + #} } #eval "require RemoteShell::$rsh_extension";