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).
|
%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.
Should be omitted for application templates.
|
%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:
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
-
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
This parameter must be specified for all base OS EZ templates and should 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.
Should be omitted for application templates.
|
%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.
|