[stable-2.9] Drop "rhui-" prefix from RHEL repositories in AMI (#71130) (#71132)

The repository names seem to have changed and no longer have the "rhui-" prefix.
(cherry picked from commit 6ac4439a6a)

Co-authored-by: Sam Doran <sdoran@redhat.com>
pull/71153/head
Sam Doran 4 years ago committed by GitHub
parent c3ac896c16
commit fba387fd64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,8 +12,8 @@
name: setup_epel
- name: Enable extras repository for RHEL on AWS
# RHEL 7.6 uses rhui-REGION-rhel-server-extras and RHEL 7.7+ use rhui-rhel-7-server-rhui-extras-rpms
command: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
# RHEL 7.6 uses REGION-rhel-server-extras and RHEL 7.7+ use rhel-7-server-rhui-extras-rpms
command: yum-config-manager --enable REGION-rhel-server-extras rhel-7-server-rhui-extras-rpms
args:
warn: no

@ -1,4 +1,4 @@
repo_command:
RedHat7:
enable: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
disable: yum-config-manager --disable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
enable: yum-config-manager --enable REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
disable: yum-config-manager --disable REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms

Loading…
Cancel
Save