Installation guide
17
Templates Overview
• Scripts:
• pre-cache: this script is executed before installing the packages included in the EZ
template on the Hardware Node.
• post-cache: this script is executed after installing the packages included in the EZ
template on the Hardware Node.
• pre-install: this script is executed before adding the EZ template to or installing the
package inside the Container.
• post-install: this script is executed after adding the EZ template to or installing the
package inside the Container.
• pre-upgrade: this script is executed before updating the packages inside the Container.
• post-upgrade: this script is executed updating the packages inside the Container.
• pre-remove: this script is executed before removing the application EZ template/package
from the Container.
• post-remove: this script is executed after removing the application EZ template/package
from the Container.
• Document files: one or several files with arbitrary names containing the information on the EZ
template (e.g. README).
Note: Detailed information on the files contained in the OS template configuration directory is provided in
the Parallels Virtuozzo Containers 4.7 Reference Guide.
When working with EZ template configuration files, pay attention to the following:
• The packages file should be specified for all EZ templates.
• The packages, package_manager, and repositories/mirrorlist files should be
specified for all base OS EZ templates.
• The package_manager and distribution files should be specified for all base OS EZ
templates and absent for non-base OS EZ templates and all application EZ templates.
• The information from the repositories/mirrorlist file(s) created for non-base OS and all
application EZ templates is added to that in the repositories/mirrorlist file(s) for the
base OS EZ template.