Determine repositories needed for content view, easily?
When first installing a system if using a DVD the repo will show "anaconda" when using yum info but I am looking for a way to know which repositories I need to sync and publish in a content view for hosts to ensure we capture the "From repo" should there be future updates to those packages.
Is there an easy way to query this from a system, sure a nested command can match and parse, but if a system is first installed from DVD then the default "From repo" seems to always be anaconda.
Thanks
Responses
So if installing a standard RHEL7 operating system, then the rhel-7-server-rpms/7Server repo is probably your best bet. This is a rolling repository containing the latest updates for RHEL 7.
Just to note, this can be quite a large repository to sync initially. However, once you have this repository sync'd, you can create a range of content views relevant to your RHEL 7 systems.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
