Installation guide

25
Managing EZ Templates
rpm44x64: Red Hat Enterprise Linux 5 and CentOS 5
rpm43x64: Red Hat Enterprise Linux 3 and 4, CentOS 3 and 4
rpmzypp44x64: SUSE Linux Enterprise Server 11 with Service Pack 2
rpm41x64: SUSE Linux Enterprise Server 10 and SUSE Linux 10.x
rpm41s9x64: SUSE Linux Enterprise Server 9
rpmzypp49x64: openSUSE 12.1
dpkgx64: Debian and Ubuntu
Creating the Template with vzmktmpl
In the last step, you use the vzmktmpl utility to create the template. To make a template with this
utility, you need to specify the path to
Metafile that defines all parameters for the template; see Creating Metafiles from Scratch (p.
22) for details on metafiles.
Scripts that are to be executed at different stages of the template life cycle (e.g., when caching
an OS template or adding an application template to a Container). Each template should have
its own set of scripts optimized for use with the Linux distribution for which the template is
created. To learn what scripts to specify for your template:
1. Install an official template provided by Parallels for the same Linux distribution for which you
are creating the template. For example, if you are making a template for CentOS 5, install
the CenOS 5 OS template (use the vzupdate -z command, if necessary).
2. Go to the configuration directory
(/vz/template/os_name/os_version/arch/config/os/default) of the installed
template.
3. Look for the files starting with "pre-" and "post-" (e.g, pre-cache or post-install):