]> git.proxmox.com Git - ceph.git/blob - ceph/src/ceph-volume/ceph_volume/tests/functional/scripts/vagrant_up.sh
import 15.2.0 Octopus source
[ceph.git] / ceph / src / ceph-volume / ceph_volume / tests / functional / scripts / vagrant_up.sh
1 #!/bin/bash
2
3 set -e
4
5 retries=0
6 until [ $retries -ge 5 ]
7 do
8 echo "Attempting to start VMs. Attempts: $retries"
9 timeout 10m vagrant up "$@" && break
10 retries=$[$retries+1]
11 sleep 5
12 done
13
14 sleep 10