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

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