Re: [PATCH rhel6-branch master 2/2] Setup proxy on repos (#604137)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> @@ -757,6 +760,10 @@ class AnacondaYum(YumSorter):
>              repo = AnacondaYumRepo(rid)
>              repo.baseurl = [ "file://%s" % d ]
>              repo.name = "Driver Disk %s" % dirname.split("-")[1]
> +
> +            if self.anaconda.proxy:
> +                repo.setProxyFromString(self.anaconda.proxy)
> +
>              repo.enable()
>              open("/tmp/yum-proxy.log","a").write("DriverDisk %s %s\n"%(repo.name, repo.proxy))
>              extraRepos.append(repo)

This shouldn't be necessary, as all driver disk repos will be a
directory in /tmp and therefore not subject to proxy stuff.

Aside from that, this looks fine.

- Chris

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux