For cern 4.5 you can use CentOS 4 metadata with the following yum.conf based on centOS 4 yum.conf
[main]
cachedir=/vz/template/cern/4/i386/yum-cache/
# Ugly hack to make yum disregard /etc/yum.repos.d/*repo files
# from both the host system and from inside VPS
reposdir=/dev/null
# Fix for bug #78 - we do not want to install dummy,
# we want to upgrade it.
installonlypkgs=''
[cern4-vz-addons]
name=OpenVZ add-ons for Cern 4 - i386
baseurl=file:///vz/template/cern/4/i386/vz-addons/
enabled=1
gpgcheck=0
[cern4-base]
name=Cern 4 - i386 - Base
baseurl=ftp://linuxsoft.cern.ch/cern/slc44/i386/yum/os
enabled=1
gpgcheck=1
[cern4-updates-released]
name=Cern 4 - i386 - Released Updates
baseurl=ftp://linuxsoft.cern.ch/cern/slc44/i386/yum/updates
enabled=1
gpgcheck=1
[Updated on: Thu, 21 June 2007 15:06]
Report message to a moderator