6.3. Disabling the Subscription Manager Repository
rhsmcertdprocess creates a special
redhat.repo. As Section 6.2, “Enabling Supplementary and Optional Repositories” describes, as the system adds subscriptions, the product channels are added to the
redhat.repofile may not be desirable in some environments. It can create static in content management operations if that repository is not the one actually used for subscriptions, such as for a disconnected system or a system using an on-premise content mirror.
redhat.reporepository can be disabled by editing the Subscription Manager configuration and setting the
manage_reposvalue to zero (0).
[root@server1 ~]# subscription-manager config --rhsm.manage_repos=0