Switching Between RHEL Reposync and Local Repos
I have a RHEL 6.7 server setup as a reposync server pulling down updates from RedHat making local repositories. Mainly for repos such as rhel-6-server-rpms, rhel-6-server-eus-epms, rhel-6-server-optional-rpms and so on. I use these local repos to test to make sure all looks good then continue on to patch/update my remaining RHEL clients I have. Life is good...
But when it comes around to patching the reposync server itself, how do I gracefully change the configuration to use the local repos for a “yum update –y” and not the repos setup for downloading the rpms from Redhat? I want to use the same local repos as I do for the other RHEL clients so everyone is patched the same. Besides the obvious proxy issues, do I use “yum-config-manager” to disable the repos then add my local repos info in a repo file in /etc/yum.repos.d/?
The basic question how do I properly toggle my RHEL download or reposync server between patching with local repositories vs downloading or reposyncing new rpms from Redhat?
|