Previous page

Next page

Locate page in Contents

Print this page

Updating EZ Templates on the Server

Sometimes, you may need to update one or more EZ templates (either OS or application) installed on your server. The process of updating an EZ template includes updating its configuration files in the /vz/template/<os_name>/<os_version>/<arch>/config directory on the server.

The recommended way of updating an installed EZ template is to use the vzpkg update template command. When executed, this command tells the vzpkg utility to access the official remote repositories and check for available OS and application EZ templates updates. For example, you can run the following command to update the CentOS 5 OS EZ template installed on the server:

# vzpkg update template centos-6-x86

You can update a number of EZ templates at once by specifying the corresponding packages and separating them by spaces. For example, the following command

# vzpkg update template centos-6-x86 redhat-el6-x86

simultaneously updates the CentOS 6 and Red Hat Enterprise Linux 6 OS EZ templates installed on the server.