=====<u>Adding New Templates:</u>=====
At the time of writing Install the desired OS templates were only available in RPM format. To be able to install them, install yumTemplate Metadata packages:
apt-get install yumvztmpl2-centos vztmpl2-fedora vztmpl2-ubuntu vztmpl2-debian
Then fetch the templates and install them:
wget http://repo.opensource-sw.net/centos/5/i386/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
wget http://repo.opensource-sw.net/centos/5/i386/vztmpl2-debian-0.9.0-1.noarch.rpm
rpm -i --nodeps vztmpl2-*.rpm
Then move the templates to where Debian expects them:
mv /vz/template/* /var/lib/vz/template/
Edit the /var/lib/vz/template/{centos,fedora,debian}/config/vzpkg.conf files as well to reference where Debian expects them. 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/
=====<u>Configure vzpkg2</u>=====