Skip to content

Commit

Permalink
fedora: Use default package repository
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Apr 30, 2024
1 parent 5093c4b commit 34d6941
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions images/fedora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34d6941

Please sign in to comment.