From c8d42862bd09e5c72f96d08a4368e8d4774db564 Mon Sep 17 00:00:00 2001
From: Talha Bin Rizwan <talha.rizwan@percona.com>
Date: Tue, 24 Sep 2024 17:01:24 +0500
Subject: [PATCH] PMM-7 Pull ova box from s3 instead of vagrant cloud. (#3210)
 (#3211)

* PMM-7 Pull ova box from s3 instead of vagrant cloud.

* Update build/Makefile



---------

Co-authored-by: Alex Demidoff <alexander.demidoff@percona.com>
---
 build/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/Makefile b/build/Makefile
index c7dc4e9795..069f29a9e9 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -22,7 +22,7 @@ fetch-el9:
 		-o ${PACKER_CACHE_DIR}/id_rsa_vagrant
 	chmod 600 ${PACKER_CACHE_DIR}/id_rsa_vagrant
 	test -f ${PACKER_CACHE_DIR}/box/oracle9.ova \
-		|| wget --progress=dot:giga  https://vagrantcloud.com/bento/boxes/oracle-9.0/versions/202207.20.0/providers/virtualbox.box -O ${PACKER_CACHE_DIR}/box/oracle9.ova
+		|| curl -fL https://pmm-build-cache.s3.us-east-2.amazonaws.com/VBOXES/oracle9-202401.31.0.box -o ${PACKER_CACHE_DIR}/box/oracle9.ova
 
 	# NOTE: image from vagrant registry is twice as large
 	test -f ${PACKER_CACHE_DIR}/box/box.ovf \