3ce16c
diff -uNrp anaconda-21.48.22.121.orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py
96d531
--- anaconda-21.48.22.121.orig/pyananconda/packaging/yumpayload.py      2017-08-31 16:28:06.672265889 +0000
96d531
+++ anaconda-21.48.22.121/pyanaconda/packaging/yumpayload.py    2017-08-31 16:28:38.812826778 +0000
96d531
@@ -41,6 +41,7 @@ import sys
96d531
 import time
96d531
 import hashlib
96d531
 from pyanaconda.iutil import execReadlines, ipmi_abort
96d531
+from pyanaconda.product import productName
96d531
 from pyanaconda.simpleconfig import simple_replace
96d531
 from functools import wraps
96d531
 from urlgrabber.grabber import URLGrabber, URLGrabError
96d531
@@ -519,12 +519,16 @@ reposdir=%s
2f8f4e
     @property
2f8f4e
     def mirrorEnabled(self):
2f8f4e
         with _yum_lock:
3ce16c
-            # yum initializes with plugins disabled, and when plugins are disabled
3ce16c
-            # _yum.plugins is a DummyYumPlugins object, which has no useful attributes.
3ce16c
-            if hasattr(self._yum.plugins, "_plugins"):
3ce16c
-                return "fastestmirror" in self._yum.plugins._plugins
3ce16c
+            # we just skip this on CentOS since we cant support it yet
2f8f4e
+            if productName.startswith("CentOS"):
3ce16c
+              return False
3ce16c
             else:
3ce16c
-                return False
3ce16c
+              # yum initializes with plugins disabled, and when plugins are disabled
3ce16c
+              # _yum.plugins is a DummyYumPlugins object, which has no useful attributes.
3ce16c
+              if hasattr(self._yum.plugins, "_plugins"):
3ce16c
+                  return "fastestmirror" in self._yum.plugins._plugins
3ce16c
+              else:
3ce16c
+                  return False
96d531
2f8f4e
     def getRepo(self, repo_id):
3ce16c
         """Return the yum repo object."""