Download RHEL 7 repos with a RHEL 6 machine

Latest response

We have a couple of RHEL7 machines in our DEV environment that need updating, but the only public facing machines available are RHEL6. How do I set up the RHEL6 machine to reposync a RHEL7 repo?

Responses

The easy way would be to put a web proxy on the RHEL6 server and let the RHEL7 machines get updates via that server. You might be able to use reposync from the yum-utils package but that basically means hand crafting a yum.conf and a repo file to point to the RHEL7 repos which may be tricky to get right.