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
This commit is contained in:
parent
9dbf6d73c4
commit
7d3e24e4a1
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user