Uploading the templates to the Master Node¶
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, the directory /vz/template/cache
should be created and
owned by solusvm:solusvm
mkdir -p /vz/template/cache
chown solusvm.solusvm /vz/template/cache/
You can upload the template using any tool you are comfortable with (eg. FTP) or via SSH, for example:
wget http://templates.solusvm.com/kvm/linux-debian-9-x86_64-minimal-latest-v2.gz
-O /home/solusvm/kvm/template/linux-debian-9-x86_64-minimal-latest.gz