From 09ad3d69e39230ca669c0324fc7b3f95777de80a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Mar 2017 16:50:32 -0300 Subject: Set NumberOfPasswordPrompts=0 for ssh on kvmx_up --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx b/kvmx index c8bbdc7..58e1aac 100755 --- a/kvmx +++ b/kvmx @@ -118,7 +118,7 @@ function kvmx_up { echo -n "Waiting for machine to boot..." while true; do - echo true | $SSH_COMMAND -o ConnectTimeout=2 -p $SSH $SSH_LOGIN@127.0.0.1 &> /dev/null && break + echo true | $SSH_COMMAND -o ConnectTimeout=2 -o NumberOfPasswordPrompts=0 -p $SSH $SSH_LOGIN@127.0.0.1 &> /dev/null && break echo -n "." sleep 2 done -- cgit v1.2.3