[Devel] Debian Versions of pkg-cacher and vzpkg
Robert Nelson
robertn at the-nelsons.org
Sun Sep 7 14:41:37 PDT 2008
I finished the packages of pkg-cacher and vzpkg for Debian HNs. You can
install them by adding the following lines to your /etc/apt/sources.list:
Etch:
deb http://repo.opensource-sw.net/debian/ etch openvz
deb-src http://repo.opensource-sw.net/debian/ etch openvz
Sarge
deb http://repo.opensource-sw.net/debian/ sarge openvz
deb-src http://repo.opensource-sw.net/debian/ sarge openvz
Then do
apt-get update
apt-get install pkg-cacher vzpkg2
The templates are turning out to be more of a problem and require some
rethinking of how the templates are packaged.
In the mean time you can follow these steps:
apt-get install yum
wget
http://repo.opensource-sw.net/centos/5/i386/vztmpl2-centos-0.9.0-1.noarch.rpm
rpm -ihv vztmpl2-centos-0.9.0-1.noarch.rpm
wget
http://repo.opensource-sw.net/centos/5/i386/vztmpl2-fedora-0.9.0-1.noarch.rpm
rpm -ihv vztmpl2-fedora-0.9.0-1.noarch.rpm
wget
http://repo.opensource-sw.net/centos/5/i386/vztmpl2-debian-0.9.0-1.noarch.rpm
rpm -ihv vztmpl2-debian-0.9.0-1.noarch.rpm
edit /var/lib/vz/template/{centos,fedora}/config/vzpkg.conf
Change the line
baseurl=file:///vz/template/$OS_NAME/$OS_VER/$OS_ARCH/vz-addons/
to
baseurl=file:///var/lib/vz/template/$OS_NAME/$OS_VER/$OS_ARCH/vz-addons/
Then you should be able to create the template cache files normally.
More information about the Devel
mailing list