From 11f953a15f508a8f934432697572a7add911dd71 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 25 May 2021 10:02:23 +0200 Subject: [PATCH] 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) --- tests/scripts/vagrant_up.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5