Uploaded image for project: 'RHEL Conversions'
  1. RHEL Conversions
  2. RHELC-1741

Stop disabling all repos and enabling default repos

XMLWordPrintable

    • 3
    • Testable

      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).

              Unassigned Unassigned
              mbocek@redhat.com Michal Bocek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: