Installation guide

76
Managing EZ Templates
5 The packages installed in the /vz/template/fedora-core/4/x86 directory on the
Hardware Node (i.e. in the template area of the fedora-core-4-x86 and plesk8 EZ
templates) are compared with those specified in the /vz/template/fedora-
core/4/x86/os/default/packages and /vz/template/fedora-
core/4/x86/app/plesk8/default/packages meta files and if some packages listed in
these files are not present in this directory, they are also downloaded from the repository to the
Node and installed there.
6 The symlinks to the package files in the /vz/template/fedora-core-3/ and
/vz/template/psa directories on the Node are replaced with symlinks to the files in the
/vz/template/fedora-core/4/x86 EZ template directory.
7 The following parameters in the /etc/sysconfig/vz-scripts/101.conf file are updated
or set anew in accordance with the changes made: OSTEMPLATE, TEMPLATES, UUID,
TECHNOLOGIES. Detailed information on these parameters is provided in the Configuring
Parallels Virtuozzo Containers 4.7 chapter of the Parallels Virtuozzo Containers 4.7 Reference
Guide.
8 The post-fedora-core-4 script from the /usr/share/vztt/convert/scripts
directory on the Node is executed. This script is meant to perform a number of post-upgrade
operations in the Container context.
The full list of "standard OS template --> EZ OS template" and "standard application template -->
EZ application template" transformations which can be performed in the current version of Parallels
Virtuozzo Containers is provided in the /usr/share/vztt/convert/os_table and
/usr/share/vztt/convert/app_table files on the Hardware Node, respectively. For
example, you can issue the following command to learn what standard OS templates can be
converted to their EZ counterparts:
# cat /usr/share/vztt/covert/os_table
...
fedora-core-1 fedora-core-4-x86
fedora-core-2 fedora-core-4-x86
fedora-core-3 fedora-core-4-x86
fedora-core-4 fedora-core-4-x86
fedora-core-5 fedora-core-5-x86
fedora-core-4-x86_64 fedora-core-4-x86_64
...
The left column provides information on standard OS templates whereas the right one informs you
of the corresponding OS EZ templates.
Note: The /usr/share/vztt/convert/app_table file contains only the names of the EZ
application templates having its own repositories for handling the packages included in these templates
(e.g., all plesk EZ templates).