Installation guide
29
Managing EZ Templates
Notes:
1. You can use the vzpkg info OS_template_name mirrorlist repositories command to
view the mirrors and repositories for specific OS templates.
2. Commercial Linux distributions (e.g., Red Hat Enterprise Linux) do not have official repositories. You
need to manually set up software repositories for such distributions before you can start using them. For
more information, see to Setting Up Repositories with vzcreaterepo.
Software packages are downloaded and installed on the Node from package repositories when
you:
• Cache an OS EZ template.
• Update an existing OS EZ template cache (provided that new packages are available in the
repository).
• Add an application EZ template or package to a Container for the first time.
• Update an EZ template or software package in a Container.
You can set up your own repositories (e.g., storing unofficial software packages) for EZ templates.
To do this, create the repositories file in the
/vz/template/<os_name>/<os_version>/<arch>/config/os/default directory on
the Node, if it is not present, and specify the path to the desired repository. For example, to add
the extra repository at http://mirrors.dotsrc.org/jpackage/ and keeping Java packages for Fedora
16:
1 Create the /vz/template/fedora/16/x86/config/os/default/repositories file
on the Node.
2 Add the following string to the file:
http://mirrors.dotsrc.org/jpackage
3 Save the file.