Wednesday, June 24, 2009

Exclude/blacklist a mirror from yum

I have installed the fastestmirror plugin for yum. The mirror that yum finds using this plugin is sometimes unavailable. Fastestmirror plugin allows you exclude/blacklist one or more mirrors.

Add the following line to "/etc/yum/pluginconf.d"

exclude=mirror.example.com

No comments: