From 7d3e24e4a1b8bff0394ddd20c67aebfb8d0b5842 Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 17 Nov 2009 13:28:55 +0000 Subject: [PATCH] remove -n flag to ssh on xdsh call git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) 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";