I tried to do a yum localinstall somename.rpm and yum went out looking for 
mirrors. I have a machine behind a nat box that restricts outbound access so it 
is timing out trying to reach https://urldefense.proofpoint.com/v2/url?u=http-3A__ftp.scientificlinux.org&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=gPxUF7VEZvngH42FWi_n2Oud9LoYvWcrlEyfWEZv4BI&s=U4w5jEkK86lgA8jZYPg5ym6c03DCPEsaGyPstP1aQqc&e= .

Why does it try accessing various mirrors when I do a local install?

We have a local mirror here at ANL and I want yum to use our local mirror and 
not wander around the net trying to reach various mirrors. To this end, I've put 
the baseurl in sl6x.repo to point at our local mirror. But it still goes out to 
look for mirrors.

What gives? Tried looking at ym.conf parameters but none jumps out at me that 
might possibly disable this behaviour.

Would appreciate some advice.  Thanks.