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