Applicable to:
- SolusVM
Question
How to add OpenVZ templates to the SolusVM?
Answer
- Connect to the SolusVM Master server via SSH
- Change directory to /vz/template/cache directory
# cd /vz/template/cache/
- Download pre-created template from the listed on the OpenVZ site, e.g. CentOS 7 Minimal (centos-7-x86_64-minimal.tar.gz
# wget http://download.openvz.org/template/precreated/centos-7-x86_64-minimal.tar.gz
# ls -l /vz/template/cache/centos-7-x86_64-minimal.tar.gz
-rw-r--r-- 1 root root 145639219 Nov 27 2016 /vz/template/cache/centos-7-x86_64-minimal.tar.gz - After that log into SolusVM web interface and browse to Dashboard > Media > Add OpenVZ Template
- Select the uploaded template from the drop-down menu against Template field, specify
Name, Description, Arch fields and click on Add Template button
Once the steps above are completed, the template will be available on the create VPS page.
If there are any slave OpenVZ nodes, it is required to synchronize the templates with the Master nodes
- Log into SolusVM Master web interface and browse to Dashboard > Media > Media Sync > Create tab
- Select the template and OpenVZ slave node
- Click on Create Sync Job button
WARNING: Make sure that directory /vz/templates/cache/ exists on the slave server and created it if does not. Otherwise synchronization task will fail.
Comments
0 commentsPlease sign in to leave a comment.