Book Image

OpenVZ Essentials

By : Mark Furman
Book Image

OpenVZ Essentials

By: Mark Furman

Overview of this book

Table of Contents (13 chapters)

Getting started with OS templates


OS templates are packed container files of a Linux distribution that we can use to quickly install a new container on our node. We can use multiple distributions of Linux on the OpenVZ node. We are not confined to use the same distribution that is installed on the server itself.

You cannot, however, use Windows templates because OpenVZ is an OS-level virtualization technology. The packaged files inside the template files contain everything that is needed to run the container, including boot files, libraries, and system utilities.

Downloading OS templates

Two ways to download OS templates are explained in this section—one method is by using vztmpl-dl and the other method is a manual method.

Using vztmpl-dl to download OS templates

OpenVZ comes with a tool named vztmpl-dl that can help you download OS templates easily and effectively. You will use two options with vztmpl-dl, which are explained as follows:

  • vztmpl-dl --list-remote: This command will provide a list...