95c740
diff -uNr anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py
95c740
--- anaconda-21.48.22.56__orig/pyanaconda/packaging/yumpayload.py       2015-12-08 14:36:52.533000000 +0000
95c740
+++ anaconda-21.48.22.56/pyanaconda/packaging/yumpayload.py     2015-12-08 14:38:51.464000000 +0000
95c740
@@ -648,6 +648,10 @@
95c740
                     # so that unattended installations on unreliable networks have
95c740
                     # a higher chance of finishing successfully
95c740
                     xdelay = xprogressive_delay()
95c740
+                    if not nm_is_connected():
95c740
+                      MAX_METADATA_DOWNLOAD_RETRIES = 1
95c740
+                    else:
95c740
+                      MAX_METADATA_DOWNLOAD_RETRIES = 10
95c740
                     for retry_count in xrange(0, MAX_METADATA_DOWNLOAD_RETRIES + 1):
95c740
                         if retry_count > 0:
95c740
                             # introduce a retry delay