Determine repositories needed for content view, easily?

Latest response

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