projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of constants.RAPI_ENABLE
[ganeti-local]
/
qa
/
qa_utils.py
diff --git
a/qa/qa_utils.py
b/qa/qa_utils.py
index
0ba6cb9
..
fbc92e8
100644
(file)
--- a/
qa/qa_utils.py
+++ b/
qa/qa_utils.py
@@
-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)