aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-10 16:50:32 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-10 16:50:32 -0300
commit09ad3d69e39230ca669c0324fc7b3f95777de80a (patch)
treee64fc9751e5f0065e12365b72bbcd991121040c7
parent6698e3113b87c58c3b37771e1f823d050e867a93 (diff)
downloadkvmx-09ad3d69e39230ca669c0324fc7b3f95777de80a.tar.gz
kvmx-09ad3d69e39230ca669c0324fc7b3f95777de80a.tar.bz2
Set NumberOfPasswordPrompts=0 for ssh on kvmx_up
-rwxr-xr-xkvmx2
1 files changed, 1 insertions, 1 deletions
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