]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: pull images from cloud.centos.org
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 25 May 2021 08:02:23 +0000 (10:02 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 25 May 2021 16:59:03 +0000 (18:59 +0200)
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 <gabrioux@redhat.com>
(cherry picked from commit 9efca34ac3363a0b942a0b1a49b6bc789d7c668a)

tests/scripts/vagrant_up.sh

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