Edit "/vz/template/centos/5/{ARCH}/
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist .centos.org/?release=$releasev er&arch=$basearch&repo =os
#baseurl=http://mirror.cento s.org/centos/$releasever/os/$b asearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-g pg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist .centos.org/?release=$releasev er&arch=$basearch&repo =updates
#baseurl=http://mirror.cento s.org/centos/$releasever/updat es/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-g pg/RPM-GPG-KEY-CentOS-5
Do a `vzyum {VEID} clean all`.
List updates:
vzyum {VEID} list updates
Update:
vzyum {VEID} update
Confirm that all VEs' have been updated to 5.5 with:
cat /vz/root/{VEID}/etc/redhat-rel ease
You should see "CentOS release 5.5 (Final)".
- sandip's blog
- Login or register to post comments