summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lorrycontroller/confparser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lorrycontroller/confparser.py b/lorrycontroller/confparser.py
index a5f1e3e..8179a61 100644
--- a/lorrycontroller/confparser.py
+++ b/lorrycontroller/confparser.py
@@ -183,7 +183,8 @@ class LorryControllerConfig(object):
trove['uuid']))
# 1. Ensure that if we need to 'ls' the trove, we do it
now = time.time()
- listcmdargs = ["ssh", "git@" + trove['trovehost'], "ls"]
+ listcmdargs = ["ssh", "-oStrictHostKeyChecking=no",
+ "-oBatchMode=yes", "git@" + trove['trovehost'], "ls"]
state['next-ls'] = state.get('next-ls', now - 1)
if state['next-ls'] < now:
exit, out, err = self.app.maybe_runcmd(listcmdargs)