bash run until success or timeout code example
Example: bash run until success or timeout
# http://jeromebelleman.gitlab.io/posts/devops/until/
timeout 12h bash -c 'until ssh root@mynewvm; do sleep 10; done'
# http://jeromebelleman.gitlab.io/posts/devops/until/
timeout 12h bash -c 'until ssh root@mynewvm; do sleep 10; done'