mirror of https://github.com/ceph/ceph-ansible.git
vagrant_up: fix bash legacy syntax
This commit rewrites the deprecated syntax used in vagrant_up.sh Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/6551/head
parent
9efca34ac3
commit
43b1c7bea9
|
@ -8,7 +8,7 @@ until [ $retries -ge 5 ]
|
||||||
do
|
do
|
||||||
echo "Attempting to start VMs. Attempts: $retries"
|
echo "Attempting to start VMs. Attempts: $retries"
|
||||||
timeout 10m time vagrant up "$@" && break
|
timeout 10m time vagrant up "$@" && break
|
||||||
retries=$[$retries+1]
|
retries=$((retries+1))
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue