projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cluster: add nicparams, and update them on upgrade
[ganeti-local]
/
qa
/
qa_utils.py
diff --git
a/qa/qa_utils.py
b/qa/qa_utils.py
index
8ca367e
..
fbc92e8
100644
(file)
--- a/
qa/qa_utils.py
+++ b/
qa/qa_utils.py
@@
-101,7
+101,7
@@
def GetSSHCommand(node, cmd, strict=True):
- strict: Whether to enable strict host key checking
"""
- strict: Whether to enable strict host key checking
"""
- args = [ 'ssh', '-oEscapeChar=none', '-oBatchMode=yes', '-l', 'root' ]
+ args = [ 'ssh', '-oEscapeChar=none', '-oBatchMode=yes', '-l', 'root', '-t' ]
if strict:
tmp = 'yes'
if strict:
tmp = 'yes'
@@
-111,13
+111,7
@@
def GetSSHCommand(node, cmd, strict=True):
args.append('-oClearAllForwardings=yes')
args.append('-oForwardAgent=yes')
args.append(node)
args.append('-oClearAllForwardings=yes')
args.append('-oForwardAgent=yes')
args.append(node)
-
- if qa_config.options.dry_run:
- prefix = 'exit 0; '
- else:
- prefix = ''
-
- args.append(prefix + cmd)
+ args.append(cmd)
print 'SSH:', utils.ShellQuoteArgs(args)
print 'SSH:', utils.ShellQuoteArgs(args)