diff options
author | Chris Lumens <clumens@redhat.com> | 2006-10-31 21:44:55 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-10-31 21:44:55 +0000 |
commit | 58c9b1f4271274352816dfbecc5c234aa24bdee7 (patch) | |
tree | 13d23a5eb2818feae772d58970fd998ad6c0476f | |
parent | 70a8f3bac810d9a1d16aa04f98eb047c67932743 (diff) | |
download | anaconda-58c9b1f4271274352816dfbecc5c234aa24bdee7.tar.gz anaconda-58c9b1f4271274352816dfbecc5c234aa24bdee7.tar.xz anaconda-58c9b1f4271274352816dfbecc5c234aa24bdee7.zip |
Set self.splitmethod if it's a split ISO method, as this seems to decrease the
number of retry errors.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | urlinstall.py | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -15,6 +15,10 @@ gethostbyname on a string containing a port number (#212622). * loader2/urls.c (urlinstStartTransfer): Likewise. + * urlinstall.py (UrlInstallMethod.__checkUrlForIsoMounts): Set + self.splitmethod if it's a split ISO method, as this seems to decrease + the number of retry errors. + 2006-10-30 Jeremy Katz <katzj@redhat.com> * scripts/upd-instroot (KEEPFILEGR): Add more fonts (#207428) diff --git a/urlinstall.py b/urlinstall.py index a89e2864b..1cb714a11 100644 --- a/urlinstall.py +++ b/urlinstall.py @@ -175,8 +175,10 @@ class UrlInstallMethod(InstallMethod): while discnum <= NUMBER_OF_CDS: baseurls.append("%s%s" % (basepath ,discnum)) discnum += 1 + if len(baseurls) > 1: self.baseUrl = baseurls + self.splitmethod = True except ValueError: # we didn't figure out the user's dir naming scheme pass |