Previous page

Next page

Locate page in Contents

Print this page

vzpkglink

If an application (or its update) was directly installed inside a Container, whereas a compatible application template (or update) 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 vzpkglink utility has the following syntax:

vzpkglink [options] CT_ID pkgset/VERSION

where CT_ID is the ID of the Container in question, pkgset is the name of the template installed on the Node, and VERSION - its version indicated usually by the 8-digit number (YYYYMMDD). The options that can be used with the utility are these:

Option

Description

-h, --help

Display the help on the utility.

-q, --quiet

Print only error messages, if any.

--version

Print the program version and exit.

-v, -verbose

Print additional debugging information. Another -v option increases verbosity.

-t, --test

Do not link the specified Container to the specified template, just evaluate the possibility of it.

-f, --force

Skip checking the compatibility of the Container with the specified template.

-c, --countlimit

This option sets the minimal percentage of the number of files inside the Container that can be linked to the files in the template area in relation to the total number of files in the template. If the real percentage is less than that specified with this option, the utility does not perform the linking. The default value is 50 (per cent).

-s, --sizelimit

This option sets the minimal percentage of the total size of files inside the Container that can be linked to the files in the template area in relation to the total size of files in the template. If the real percentage is less than that specified with this option, the utility does not perform the linking. The default value is 50 (per cent).

Please send us your feedback on this help page