Hi,
In my environment i’m creating setup for patching, before patching i’m planning to disable redhat repo, since we have own local repo, so below few lines are copied from other source, but not working properly. please share if anyone already had some setup.
The main intention is to disable all repo’s and enable my local repo according to OS version.
Repository details:-
RHEL6-Server-WDC
RHEL7-Server-WDC
OS version:-
RHEL 6 & 7