Previous page

Next page

Locate page in Contents

Print this page

vzpkg.metafile

This file is used by the vzmktmpl utility as the basis for the EZ template creation. The parameters in this file are presented on separate lines in the following format:

< parameter_name >

< parameter_value >

The table below describes these parameters:

Name

Description

%osname

Mandatory. The name of the Linux distribution for which you are creating the OS EZ template or under which the application EZ template being created is to be run.

%osver

Mandatory. The version of the Linux distribution specified as the value of the %osname parameter.

%osarch

Mandatory. The microprocessor architecture where the EZ template is to be run. You can set the value of this parameter to one of the following:

  • x86 : this value should be specified if your EZ template is to be used on 32-bit platforms.
  • x86-64 : this value should be specified if your EZ template is to be used on x86-64-bit platforms (e.g. on servers with the AMD Opteron and Intel Pentium D processors installed).
  • ia64 : this value should be specified if your EZ template is to be used on IA-64-bit platforms (i.e. on servers with the Itanium 2 processor installed).

%appname

Mandatory, for application EZ templates only. The name of the application EZ template.

%setname

Optional. The name of the non-base OS EZ template, if any. This parameter should be specified only while creating non-base OS EZ templates.

%upgradable_version

Optional. A list of Linux distribution versions which can be upgraded to the version of the Linux distribution for which you are creating the EZ template. For OS EZ templates only.

%packages

Mandatory. A list of software packages to be included in the EZ template. The names of the packages listed as the value of this parameter should correspond to the names of real packages that are stored in the repository used for managing your EZ templates and can be specified in one of the following ways:

For RPM-based Linux distributions:

  • as a package name only (e.g. wget )
  • as a package name with the indication of the system architecture on which the package is to be run (e.g. wget.i386 , wget.noarch )
  • as a package name with its versions (e.g. wget-1.9.1 )
  • as a package name with its versions and release number (e.g. wget-1.9.1-12 )
  • as a package name with its version, release number, and system architecture (e.g. wget-1.9.1-12.i386 )
  • as a package name with its version, release number, system architecture, and epoch number (e.g. 10:wget-1.9.1-12.i386 )

    For Debian-based Linux distributions:

  • as a package name only (e.g. wget )
  • as a package name with its version (e.g. wget-1.9.1-12 )

%packages_0

Mandatory, for Debian-based OS EZ templates only. A list of packages to be used for creating a minimal Debian/Ubuntu chroot environment. These packages should correspond to those installed on a standalone server on the first stage of the Ubuntu distribution installation. The packages will be installed on the server one by one in the specified order during the OS EZ template caching. If you wish several packages to be simultaneously installed on the server, you should specify the package names on a single line and separate them by spaces.

%packages_1

Mandatory, for Debian-based OS EZ templates only. A list of 'base' packages for the Debian/Ubuntu distribution. These packages are needed to install the packages listed as the value of the %packages parameter.

%package_manager

Mandatory. The short name of the package manager to be used for handling the EZ template. Depending on the Linux distribution for which you are creating the template or under which the template will be used, you should set the following values for the PKGMAN parameter:

32-bit Linux distributions :

  • rpm44x86 : Red Hat Enterprise Linux 5, Fedora Core 4, 5, and 6, Fedora 7 and 8
  • rpm43x86 : Red Hat Enterprise Linux 3 and 4 (with the 2.6 kernel and NPTL support) and CentOS 4, 5
  • rpm41x86 : SUSE Linux Enterprise Server 10 and SUSE Linux 10. x where x denotes the minor number of the SUSE Linux 10 release (e.g. 10.1 or 10.2)
  • rpm41s9x86 : SUSE Linux Enterprise Server 9
  • dpkg : Debian and Ubuntu

    64-bit Linux distributions for x86-64 processors :

  • rpm44x64 : Red Hat Enterprise Linux 5 and Fedora Core 4, 5, and 6, Fedora 7 and 8
  • rpm43x64 : Red Hat Enterprise Linux 3 and 4 (with the 2.6 kernel and NPTL support) and CentOS 4, 5
  • rpm41x64 : SUSE Linux Enterprise Server 10 and SUSE Linux 10. x where x denotes the minor number of the SUSE Linux 10 release (e.g. 10.1 or 10.2)
  • rpm41s9x64 : SUSE Linux Enterprise Server 9
  • dpkgx64 : Debian and Ubuntu

    64-bit Linux distributions for ia64 processors:

  • rpm44i64 : Red Hat Enterprise Linux 5
  • rpm43i64 : Red Hat Enterprise Linux 3 and 4 (with the 2.6 kernel and NPTL support) and CentOS 4, 5
  • rpm41s9i64 : SUSE Linux Enterprise Server 9
  • rpm41i64 : SUSE Linux Enterprise Server 10
  • dpkgi64 : Debian and Ubuntu

This parameter should be obligatorily specified for all base OS EZ templates and can be omitted for application EZ templates and non-base OS EZ templates.

%repositories

Mandatory, for RPM-based Linux distributions only. A list of repositories where the packages comprising the EZ template are stored.

%mirrorlist

Mandatory. One or several URLs to the file containing a list of repositories from where the packages comprising the EZ template are to be downloaded. This parameter can be omitted if you are creating a metafile for an application EZ template or a non-base OS EZ template.

%distribution

Optional. The type of the Linux distribution. Examples of Linux distribution types are centos , debian , fedora-core , gentoo , mandrake , redhat , rhel-3, rhel-4, rhel-5 , fedora-core-4 , fedora-core-5 , slackware , slackware-10.0 , suse , suse-9.3 , etc.

%description

Optional. Detailed information on the EZ template package file.

%version

Optional. The version of the EZ template package file.

%release

Optional. The release of the EZ template package file.

%license

Optional. The information about the owner of the EZ template package file.

%changelog

Optional. The information about the changes made to the EZ template package file.