I am using Fedora Core, yum 2.6.0-1. I am behind a proxy server to access the internet. I've exported the environment variables http_proxy and ftp_proxy, and yum works fine with them. We've have decided to set up a yum repository in the local LAN network. The proxy server is configured to 'refuse' all requests to the local LAN IPs. Hence, I'd like to not-use proxy for the local repository.
It seems that unsetting the environment variable and writing
in yum.conf doesn't work. It was mentioned that you can have proxy settings for a repo by setting this variable in the repo file. But seems yum just ignores this value. Anyone knows why does this happen? And whats the workaround if I want to use all repositories (local and internet) simultaneously?