Created
October 22, 2019 18:44
-
-
Save rcarrata/891c29b5ee42017b95cc72f4480ba394 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Workaround for fix the bug | |
## https://github.com/ansible/workshops/pull/498/files | |
sudo yum-config-manager --disable rhui-REGION-rhel-server-extras | |
sudo yum-config-manager --disable rhui-REGION-rhel-server-rhscl | |
sed -i.bak 's/rhui-REGION-rhel-server-extras/rhel-7-server-rhui-extras-rpms/g' roles/repos_el/vars/RedHat-7.yml | |
sed -i.bak 's/rhui-REGION-rhel-server-rhscl/rhel-server-rhui-rhscl-7-rpms/g' roles/repos_el/vars/RedHat-7.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment