-
Task
-
Resolution: Unresolved
-
Normal
-
None
-
None
Currently we always run subscription-manager repos --disable="*" followed by enabling either the default repos from the distro config or, if specified, the repos from the --enablerepo CLI option.
Because sub-man auto-enables repos together with a registration we could drop the repo disablement (it takes quite a long time) which would leave default repos enabled and we could even drop enabling repos (that also takes a long time) when the customer hasn’t used the --enablerepo option.
Note: When the system is already pre-registered we want to run the repo enablement (not the disablement because we pass specific repoids to yum calls so even if more repos are enabled those won’t be used).
- is related to
-
RHELC-1351 GitHub Issue #1034: Disabling repositories fails if there are no repositories available through subscriptions
-
- Closed
-