This is follow-up of bcl's [6/6] patchset backporting addon repos from rhel6-branch. The patch is in my queue for rhel 6.1. --- pyanaconda/yuminstall.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py index 1097823..1518143 100644 --- a/pyanaconda/yuminstall.py +++ b/pyanaconda/yuminstall.py @@ -721,6 +721,13 @@ class AnacondaYum(YumSorter): Try to get .treeinfo file from baseurl, optionally using proxy_url Saves the file into /tmp/.treeinfo """ + if baseurl.startswith("http") or baseurl.startswith("ftp"): + if not network.hasActiveNetDev(): + if not self.anaconda.intf.enableNetwork(): + log.error("Error downloading %s/.treeinfo: network enablement failed" % + baseurl) + return None + try: ug = URLGrabber() if proxy_url: -- 1.7.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list