FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Enterprise Watch List

 
 
LinkBack Thread Tools
 
Old 04-10-2012, 10:01 PM
"Brian C. Lane"
 
Default fall back to global proxy for repos (#788537)

From: "Brian C. Lane" <bcl@redhat.com>

If there is a global proxy setting and a repo does not have it's own
proxy setup, fall back to the global one.

Resolves: rhbz#788537
---
yuminstall.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 099de44..61a0b65 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -874,6 +874,9 @@ class AnacondaYum(YumSorter):

if ksrepo.proxy:
self.setProxy(ksrepo, repo)
+ elif self.anaconda.proxy:
+ log.debug("%s will use the global proxy configuration", repo.name)
+ self.setProxy(self.anaconda, repo)

repo.enable()
extraRepos.append(repo)
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 07:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org