]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
vagrant: temp workaround for CentOS 8 cloud image
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 15 Jan 2020 15:35:28 +0000 (10:35 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 15 Jan 2020 16:52:35 +0000 (17:52 +0100)
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 <dsavinea@redhat.com>
tests/scripts/vagrant_up.sh

index cd690961a74a001b5ac6147142725a934402da28..d143df8ed7a5d200d564a2d49c76654f76e1d4d3 100644 (file)
@@ -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