Previous page

Next page

Locate page in Contents

Print this page

vzpkg link

If an application (or its update) was directly installed inside a Container, whereas a compatible application EZ template is also installed on the Hardware Node, the Container can be linked to this template, so the real files inside the Container are replaced with symlinks to these very files on the Node. The vzpkg link command has the following syntax:

vzpkg link [options] <CT_ID>|<CT_NAME>

The options that can be used with this command are the following:

Option

Description

-s, --slow

Check all packages inside the Container including the ones installed by using the technology of Virtuozzo templates and replace the real application files, if any, with symlinks to the files on the Node.

-C, --cache

Makes the vzpkg link command look for the packages in the local vzpkg cache only. If there is a package 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 link will also check the local vzpkg cache only.

-r, --remote

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, you should use this option to make vzpkg link look for the packages in the remote repositories set for handling the corresponding EZ templates.

-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.

Please send us your feedback on this help page