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