Problem scenario
You want to write a script that will show which Yum repositories are available to you. You want each one enabled. How do you accomplish this?
Solution
Run this command: sudo yum-config-manager --enable *
A Technical I.T./DevOps Blog
Problem scenario
You want to write a script that will show which Yum repositories are available to you. You want each one enabled. How do you accomplish this?
Solution
Run this command: sudo yum-config-manager --enable *