I've finally gotten around to creating a local mirror, and due to a 'locked' symlink I can now run yum update on all machines and get them to pull the same packages etc so they are all in sync no matter when yum update is run. The problem I am having now is to ensure only the local mirror is used, as yum appears to default to another mirror, even when I use baseurl. Is it possible to lock down the repo config so yum will only pull from specified mirror, even if it's not available?
Example repo conf:
[base] name=CentOS-$releasever - Base baseurl=ftp://user:[email protected]/centos/locked/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 [updates] name=CentOS-$releasever - Updates baseurl=ftp://user:[email protected]/centos/locked/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 [extras] name=CentOS-$releasever - Extras baseurl=ftp://user:[email protected]/centos/locked/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
/etc/yum/repos.d?