Blame SOURCES/BZ-1175309-enable-repos-instruction.patch

eb5f31
commit 6c9e839ab7ebee6357bbac8ab8ec143fc8ead461
eb5f31
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
eb5f31
Date:   Fri May 13 13:50:14 2016 +0200
eb5f31
eb5f31
    Mention subscription-manager for enabling repos.
eb5f31
eb5f31
diff --git a/yumcommands.py b/yumcommands.py
eb5f31
index 1d0f5ac..2c8cecd 100644
eb5f31
--- a/yumcommands.py
eb5f31
+++ b/yumcommands.py
eb5f31
@@ -262,7 +262,10 @@ def checkEnabledRepo(base, possible_local_files=[]):
eb5f31
 
eb5f31
     msg = _('There are no enabled repos.\n'
eb5f31
             ' Run "yum repolist all" to see the repos you have.\n'
eb5f31
-            ' You can enable repos with yum-config-manager --enable <repo>')
eb5f31
+            ' To enable Red Hat Subscription Management repositories:\n'
eb5f31
+            '     subscription-manager repos --enable <repo>\n'
eb5f31
+            ' To enable custom repositories:\n'
eb5f31
+            '     yum-config-manager --enable <repo>')
eb5f31
     base.logger.critical(msg)
eb5f31
     raise cli.CliError
eb5f31