5.2. Disabling the Subscription Manager repository

Maintaining a redhat.repo file 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. This is relevant for disconnected systems or systems using an on-premise content mirror.
This default repository can be disabled by editing the Subscription Manager configuration and setting the manage_repos value to zero (0):
[root@server1 ~]# subscription-manager config --rhsm.manage_repos=0