Menu Close

6.2. Enabling supplementary and optional repositories

As product subscriptions are attached to systems, the associated content repositories (identified in the subscription certificate) are made available to the system. The content repositories are based on the product and on the content delivery network, defined in the baseurl parameter of the rhsm.conf file.
A subscription may include access to optional content repositories along with the default repositories. These optional repositories must be enabled before the packages in them can be installed (even if the system has the appropriate subscriptions for the products in those repositories):
  1. List all available repos for the system, including disabled repos.
    [root@server1 ~]# subscription-manager repos --list
  2. The repositories can be enabled using the --enable option with the repos command:
    [root@server ~]# subscription-manager repos --enable rhel-6-server-optional-rpms
The optional and supplementary channels are named rhel-6-server-optional-rpmsand rhel-6-server-supplementary, respectively. Likewise, unwanted repositories can be disabled using the repos --disable command.