From: Dimitri Savineau Date: Wed, 15 Jan 2020 15:35:28 +0000 (-0500) Subject: vagrant: temp workaround for CentOS 8 cloud image X-Git-Tag: v6.0.0alpha1~112 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a5385e104884a3692954e4691f3348847a35c7fa;p=ceph-ansible.git vagrant: temp workaround for CentOS 8 cloud image The CentOS cloud infrastructure storing the vagrant CentOS 8 image changed the directory path and remove the old 8.0 image so the vagrant box add centos/8 fails returning a 404 http error. As a workaround we can pull the image from CentOS instead of letting vagrant doing the resolution. Signed-off-by: Dimitri Savineau --- diff --git a/tests/scripts/vagrant_up.sh b/tests/scripts/vagrant_up.sh index cd690961a..d143df8ed 100644 --- a/tests/scripts/vagrant_up.sh +++ b/tests/scripts/vagrant_up.sh @@ -1,5 +1,7 @@ #!/bin/bash +vagrant box add --provider libvirt --name centos/8 https://cloud.centos.org/centos/8/x86_64/images/CentOS-8-Vagrant-8.1.1911-20200113.3.x86_64.vagrant-libvirt.box + retries=0 until [ $retries -ge 5 ] do