
Reference 111
vzpkgcache
This utility creates/updates template caches for OS templates. You should run this utility before
you can use a newly installed OS template for creating Virtual Private Servers. It has the
following syntax:
vzpkgcache [-f|--force] [osname ...]
vzpkgcache -r|--remove osname [...]
This utility checks the metadata for all the templates installed on the Hardware Node and if it
finds an OS template for which no cache exists, it starts downloading and installing all packages
listed in the configuration file and creates a cache at the end. In case a cache already exists, the
utility updates it, i.e. installs all the updated packages that have been issued since the cache was
created or updated last time.
If you want to create or update specific OS template(s), supply their name(s) on the command
line.
Normally you run
vzpkgcache
without any options. However, it understands the following
options:
-r, --remove
osname
[…]
Remove the cache for the templates specified in the
command line (
osname
). This option requires an
explicit list of templates, i.e. there is no default action
to remove all caches.
vzrpm
This utility acts as a simple RPM wrapper to be used for a specific VPS. It has the following
syntax:
vzrpm
vpsid
[
rpm_argument
...]
This utility runs
rpm
package manager tool for a given VPS, passing all further options to
rpm
.
vzyum
This utility acts as a wrapper for the
yum
package manager utility to be used for a specific VPS.
It has the following syntax:
vzyum v
psid
[
yum_argument
...]
This utility runs the
yum
package manager tool for a given VPS with all the given options. It
also supplies
yum
with arguments specifying the proper repository locations for the distribution
this VPS is based on, and makes
yum
use the single repository cache residing on the Hardware
Node.