[Users] Re: [Devel] Debian Versions of pkg-cacher and vzpkg

Robert Nelson robertn at the-nelsons.org
Sun Sep 7 18:00:41 EDT 2008


Oops I missed a couple steps dealing with the templates, changes below:

Robert Nelson wrote:
> 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
>
For each template above, instead of
    rpm -ihv vztmpl2-debian-0.9.0-1.noarch.rpm
Do
    rpm -ihv --nodeps vztmpl2-debian-0.9.0-1.noarch.rpm
    mv /vz/template/debian /var/lib/vz/template

Repeat for each template replacing debian with fedora, centos, etc.
>    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.
>
> _______________________________________________
> Devel mailing list
> Devel at openvz.org
> https://openvz.org/mailman/listinfo/devel



More information about the Users mailing list