Installation guide
24 
Managing EZ Templates 
•  Add the %appname parameter to the file to specify a name for the application template, for 
example: 
%appname 
php-customized 
•  Do not include the %package_manager, %upgradable_versions, and %distribution 
parameters in the file. These parameters are allowed for OS templates only. 
•  Make sure that the value of the %osname parameter corresponds to the name of the directory 
of the Linux distribution under which the application template is to be run. For example, if you 
are creating an application template for CentOS 5 installed in the /vz/template/centos 
directory, set this value to centos: 
%osname 
centos 
•  Ensure that the value of the %osver parameter corresponds to the version of the respective 
Linux distribution. For example, for CentOS 5 installed in the /vz/template/centos/5 
directory, set this value to 5: 
%osver 
5 
Available Package Managers 
Depending on the Linux distribution for which you are creating the template, set the following 
values for the package_manager parameter: 
x86 Linux distributions 
•  rpm49db5x86: Fedora 17 
•  rpm49x86: Fedora 15 and 16 
•  rpm47x86: Red Hat Enterprise Linux 6 and CentOS 6 
•  rpm44x86: Red Hat Enterprise Linux 5 and CentOS 5 
•  rpm43x86: Red Hat Enterprise Linux 3 and 4, CentOS 3 and 4 
•  rpmzypp44x86: SUSE Linux Enterprise Server 11 with Service Pack 2 
•  rpm41x86: SUSE Linux Enterprise Server 10 and SUSE Linux 10.x 
•  rpm41s9x86: SUSE Linux Enterprise Server 9 
•  rpmzypp49x86: openSUSE 12.1 
•  dpkg: Debian and Ubuntu 
x86-64 Linux distributions 
•  rpm49db5x64: Fedora 17 
•  rpm49x64: Fedora 15 and 16 
•  rpm47x64: Red Hat Enterprise Linux 6 and CentOS 6 










