ci: add workaround for missing redhat.repo in EC2
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
e64cc2effe
commit
3991827f68
1 changed files with 3 additions and 0 deletions
|
|
@ -69,6 +69,9 @@ if [[ "$ID" == rhel ]] && sudo subscription-manager status; then
|
|||
# If this script runs on subscribed RHEL, install content built using CDN
|
||||
# repositories.
|
||||
DISTRO_VERSION=rhel-${VERSION_ID%.*}-cdn
|
||||
|
||||
# workaround for https://github.com/osbuild/osbuild/issues/717
|
||||
sudo subscription-manager config --rhsm.manage_repos=1
|
||||
fi
|
||||
|
||||
greenprint "Enabling fastestmirror to speed up dnf 🏎️"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue