From: Guillaume Abrioux Date: Tue, 25 May 2021 08:02:23 +0000 (+0200) Subject: tests: pull images from cloud.centos.org X-Git-Tag: v5.0.6~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0ff4ba501a8963b1cc441fc76cf0fad162db557b;p=ceph-ansible.git tests: pull images from cloud.centos.org temporary work around vagrant cloud issue which seems broken at the time of pushing this commit. Let's pull images from cloud.centos.org for now since vagrant cloud hosted images return a 403 error. Signed-off-by: Guillaume Abrioux (cherry picked from commit 9efca34ac3363a0b942a0b1a49b6bc789d7c668a) --- diff --git a/tests/scripts/vagrant_up.sh b/tests/scripts/vagrant_up.sh index cd690961a..819ff46c8 100644 --- a/tests/scripts/vagrant_up.sh +++ b/tests/scripts/vagrant_up.sh @@ -1,5 +1,8 @@ #!/bin/bash +vagrant box remove --force --provider libvirt --box-version 0 centos/8 || true +vagrant box add --provider libvirt --name centos/8 https://cloud.centos.org/centos/8/vagrant/x86_64/images/CentOS-8-Vagrant-8.3.2011-20201204.2.x86_64.vagrant-libvirt.box || true + retries=0 until [ $retries -ge 5 ] do