This command is used to update tarballs (caches) of the OS EZ templates installed on the server.
Syntax.
vzpkg update cache [<options>] [<OS_template> [...]]
Table 3.36. Options
Name | Description |
---|---|
| Makes the |
| If the elapsed time from the last |
The vzpkg update cache
command checks the cache directory in the template area (by default, the template area is located in the /vz/template
directory on the server) and updates all existing tarballs in this directory. However, you can explicitly indicate what OS EZ template tarball is to be updated by specifying its name as <OS_template>
. Upon the vzpkg update cache
execution, the old tarball is renamed by receiving the -old
suffix (e.g., centos-6-x86_64.tar.gz-old
).
If the vzpkg update cache
command does not find a tarball for one or more OS EZ templates installed on the server, it creates the corresponding tar archive(s) and puts them to the /vz/template/cache
directory.