X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/305cb9bb3461da5b47068af9e82d01cb94207c3d..560428be4f5852813972cd2791f425cf708ca7c6:/qa/qa_utils.py diff --git a/qa/qa_utils.py b/qa/qa_utils.py index 0ba6cb9..fbc92e8 100644 --- 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) - - if qa_config.options.dry_run: - prefix = 'exit 0; ' - else: - prefix = '' - - args.append(prefix + cmd) + args.append(cmd) print 'SSH:', utils.ShellQuoteArgs(args)