Show Table of Contents
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

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.