diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 16:50:32 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 16:50:32 -0300 |
commit | 09ad3d69e39230ca669c0324fc7b3f95777de80a (patch) | |
tree | e64fc9751e5f0065e12365b72bbcd991121040c7 | |
parent | 6698e3113b87c58c3b37771e1f823d050e867a93 (diff) | |
download | kvmx-09ad3d69e39230ca669c0324fc7b3f95777de80a.tar.gz kvmx-09ad3d69e39230ca669c0324fc7b3f95777de80a.tar.bz2 |
Set NumberOfPasswordPrompts=0 for ssh on kvmx_up
-rwxr-xr-x | kvmx | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |