6
edits
Changes
This packege did'nt install by you for dependenses, and, Debian/Ubuntu template cahe did'nt created
yum install vzpkg2 vztmpl2-centos vztmpl2-fedora vztmpl2-debian vztmpl2-ubuntu
yum install pkg-cacher-sadebootstrap
=====<u>Configure vzpkg2</u>=====
=====<u>Generate the new template cache</u>=====
Now everything should be ready to go! Make sure both the 'vz' service and 'pkg-cacher' service are running, then run as root:.
To build an individual OS Template just run the 'vzpkgcache' command and pass it the name of the OS Template you want to build. For a list of OS Templates you can build, run the 'vzpkgls' command. Example: vzpkgcache centos-5-i386-default If you'd like to build all OS Templates available, just run the 'vzpkgcache' command without any parameters. Example: vzpkgcache
vzpkg2 should get to work generating your initial caches. Now you can run 'vzctl create' and use them.
apt-get install vztmpl2-centos vztmpl2-fedora vztmpl2-ubuntu vztmpl2-debian
=====<u>Configure vzpkg2</u>=====
=====<u>Generate the new template cache</u>=====
Now everything should be ready to go! Make sure both the 'vz' service and 'pkg-cacher' service are running To get a list of what OS Templates you may now use, then type the following: vzpkgls That will produce a list of available OS Templates. Use any name given in the list as a parameter to vzpkgcache to build that OS Template. Example: vzpkgcache centos-5-i386-default If you want to build all OS Templates you can simply run as rootvzpkgcache without any paramters:
vzpkgcache
vzpkg2 should get to work generating your initial caches. Now you can run 'vzctl create' and use them.
===Source===