From 452919a06c8c46a2c9c385e338cc32f89b35e9c1 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 10 Feb 2025 20:19:01 +0100 Subject: [PATCH 1/2] images: Move to official centos-10 weekly cloud images The images from the current production compose may contain packages which are not yet on the official mirrors. There are also times (like right now) when the development compose is lagging behind production. Follow Troy Dawson's recommendation and bootstrap from the official CentOS 10 cloud image instead of looking at the compose. See https://issues.redhat.com/browse/CS-2725 Fixes #7399 --- images/scripts/centos-10.bootstrap | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/images/scripts/centos-10.bootstrap b/images/scripts/centos-10.bootstrap index 515eeb0fe6..75c8bb661f 100755 --- a/images/scripts/centos-10.bootstrap +++ b/images/scripts/centos-10.bootstrap @@ -1,8 +1,5 @@ #! /bin/bash set -eux -# FIXME: Move to /development once that gets cloud images -URL='https://composes.stream.centos.org/stream-10/production/latest-CentOS-Stream/compose/BaseOS/x86_64/images/' -IMAGE="$(curl -L -s "$URL" | grep -o '"CentOS-Stream-GenericCloud-10-[^"]*.x86_64.qcow2"' | tr -d '"' | tail -n1)" -[ -n "$IMAGE" ] -exec $(dirname $0)/lib/cloudimage.bootstrap "$1" "$URL/$IMAGE" +URL="https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2" +exec $(dirname $0)/lib/cloudimage.bootstrap "$1" "$URL" From 2ac5e32e0956683d848e0b414a15ae094fffd461 Mon Sep 17 00:00:00 2001 From: Cockpituous Date: Mon, 10 Feb 2025 19:43:08 +0000 Subject: [PATCH 2/2] images: Update centos-10 image --- images/centos-10 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/centos-10 b/images/centos-10 index 3afc29bf9f..266347e8ee 120000 --- a/images/centos-10 +++ b/images/centos-10 @@ -1 +1 @@ -centos-10-ea5dcc7fb4f05be273ba535049f354f929dfb83ef13a260b2901eeca20d91aa9.qcow2 \ No newline at end of file +centos-10-cd29012e96c088534081c7223c4fd0e0c9ae6ed17ebf87d96c381281ac4a358b.qcow2 \ No newline at end of file