vzpkg upgrade
The
vzpkg upgrade
command is used to upgrade an OS EZ template the Container is based on to a newer version.
Syntax
vzpkg upgrade
[
options
]
<CT_ID
|
CT_name>
Options
Name
|
Description
|
-C, --cache
|
Makes the
vzpkg upgrade
command check for the packages included in the OS EZ template in the local
vzpkg
cache only. If any package is not available locally, the command will fail.
You can omit this parameter if the elapsed time from the last
vzpkg
cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file; in this case
vzpkg upgrade
will also check the local
vzpkg
cache only.
|
-r, --remote
|
If the elapsed time from the last local
vzpkg
cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file, you should use this option to make
vzpkg upgrade
check for the packages in the remote repositories set for handling the given EZ OS template.
|
-n, --check-only
|
Simulates the same operations as
vzpkg upgrade
completes without specifying this option (downloads the packages to the server, handles their interdependencies, etc.); however, the packages themselves inside the Container are not upgraded.
|
-f, --force
|
Forces the upgrade of the OS EZ template.
|
-d, --debug
<num>
|
Sets the debugging level to one of the specified values (from 0 to 10). 10 is the highest debug level and 0 sets the debug level to its minimal value.
|
-q, --quiet
|
Disables logging to the screen and to the log file.
|
|