Posted by: Master Will | November 8, 2020

OpenVZ Templates

All work with media such as templates for creating the virtual servers should be performed on the master server.

At first, upload the templates to the master node at:

  • KVM: /home/solusvm/kvm/template/# ls -lahd /home/solusvm/kvm/template/drwxr-xr-x 2 root root 4.0K Jun 3 11:25 /home/solusvm/kvm/template/
  • Xen: /home/solusvm/xen/template/# ls -lahd /home/solusvm/xen/template/drwxr-xr-x 2 root root 4.0K May 26 09:53 /home/solusvm/xen/template/
  • OpenVZ: /vz/template/cache/# ls -lahd /vz/template/cache/drwxr-xr-x 2 solusvm solusvm 4.0K May 31 07:57 /vz/template/cache/

For OpenVZ 7 node, directory /vz/template/cache should be created and owned by solusvm:solusvm

mkdir -p /vz/template/cache

chown solusvm.solusvm /vz/template/cache/


Adding OpenVZ EZ templates

1. Access OpenVZ 7 node via SSH and install required template with the command:Install required template

yum install centos-7-x86_64-ez

The template name always has the structure {distribution}-{release}-{arch}-ez. As an example centos-7-x86_64-ez

2. Access the master node via SSH and create a file under /vz/template/cache directory.
The file name should be a template name with tar.gz extension. In our example the name would be centos-7-x86_64-ez.tar.gz:Create a file

touch /vz/template/cache/centos-7-x86_64-ez.tar.gz

Or simply download from here:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.


%d bloggers like this: