Add proxy support from the repo line in the kickstart file

This commit is contained in:
Brian C. Lane 2010-03-04 10:41:28 -08:00 committed by Jesse Keating
parent d4fc805857
commit 38d41ad0be
1 changed files with 2 additions and 0 deletions

View File

@ -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)