summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtester1
1 files changed, 1 insertions, 0 deletions
diff --git a/tester b/tester
index 64fe109..0366399 100755
--- a/tester
+++ b/tester
@@ -157,6 +157,7 @@ class System(object):
def runcmd(self, argv, user='root', chdir='.', **kwargs):
print(str(self) + 'Running command as ' + user + ': ' + argv[-1])
ssh_cmd = ['ssh', '-o', 'StrictHostKeyChecking=no',
+ '-o', 'BatchMode=yes',
'-o', 'UserKnownHostsFile=/dev/null', self.ssh_host(user)]
cmd = ['sh', '-c', 'cd "$1" && shift && exec "$@"', '-', chdir]
cmd += argv