From 38d41ad0be2a84f7d99b84d2f63a99fad8cd92d1 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 4 Mar 2010 10:41:28 -0800 Subject: [PATCH] Add proxy support from the repo line in the kickstart file --- src/pypungi/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index e57e72a8..d30eefa7 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -206,6 +206,8 @@ class Pungi(pypungi.PungiBase): thisrepo.cost = repo.cost if repo.ignoregroups: thisrepo.enablegroups = 0 + if repo.proxy: + thisrepo.proxy = repo.proxy self.ayum.repos.add(thisrepo) self.ayum.repos.enableRepo(thisrepo.id) self.ayum._getRepos(thisrepo=thisrepo.id, doSetup = True)