From 34d694181c0d8771aeb8427e7b7abd7c35e87096 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Tue, 30 Apr 2024 11:28:42 -0400 Subject: [PATCH] fedora: Use default package repository MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- images/fedora.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/images/fedora.yaml b/images/fedora.yaml index 2c7131b6..36662b44 100644 --- a/images/fedora.yaml +++ b/images/fedora.yaml @@ -252,23 +252,6 @@ actions: cp "${repo}" "${repo}.bak" done -- trigger: post-unpack - action: |- - #!/bin/sh - - set -eux - - # Use baseurl instead of metalink to avoid networking issues - for repo in $(ls /etc/yum.repos.d/*.repo); do - grep -q '^#baseurl' "${repo}" || continue - - sed -ri 's/^metalink=.*/#\0/g;s@^#(baseurl=)http://download.example/pub(.*)@\1https://mirror.csclub.uwaterloo.ca/\2@g' "${repo}" - done - architectures: - - aarch64 - - armhfp - - x86_64 - - trigger: post-unpack action: |- #!/bin/sh