]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: set BatchMode=yes for ssh check procedure
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Jun 2018 19:09:51 +0000 (16:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 9 Jun 2018 19:09:51 +0000 (16:09 -0300)
share/hydra/deploy

index c20eee2212164559b8fecd1d6f36bf751d1ff3ab..0392f630268b6fc2d151300b564a352e867b969b 100755 (executable)
@@ -170,7 +170,7 @@ for node in $NODES; do
 
     # Check for passwordless connections
     # http://stackoverflow.com/questions/3830508/check-if-passwordless-access-has-been-setup#3830680
-    if ! $HYDRA_CONNECT -o NumberOfPasswordPrompts=0 $FQDN true; then
+    if ! $HYDRA_CONNECT -o NumberOfPasswordPrompts=0 -o BatchMode=yes $FQDN true; then
       echo "Unable to connect to $FQDN via SSH without a password."
       echo "Check network connection to machine or set a passwordless login for your user at $FQDN using public key auth."
       continue