Skip to content

Single Partition Templates

From version 1.20.06 Mainline you can use single partition templates, Essentially just one large / partition and no swap.

To do this you must set both the disk to resize and swap partition fields to 1 (or the correct partition number) when adding the template.

We have supplied a few single partition templates in our template repository https://templates.solusvm.com/kvm/single_partition

Template Build Date
linux-centos-7-x86_64-minimal-latest.gz 12-Jun-2018
linux-debian-8-x86_64-minimal-latest.gz 12-Jun-2018
linux-debian-9-x86_64-minimal-latest.gz 12-Jun-2018
linux-fedora-28-x86_64-minimal-latest.gz 12-Jun-2018
linux-ubuntu-16.04-x86_64-minimal-latest.gz  12-Jun-2018
linux-ubuntu-18.04-x86_64-minimal-latest.gz 12-Jun-2018
linux-centos-7-x86_64-WHM-cPanel.gz 12-Nov-2018
linux-centos-plesk-7-x86_64-minimal-latest.gz 03-Apr-2019

All the single partition templates we supply will self update and create a swapfile on first boot. You should set disk to resize and swap partition to 1

The default generated swapfile size is 256MB, if you want to change this you can edit the first-boot.sh script located in /root/scripts/ within the template as well as include any other first boot actions you may want to add. The following article describes step-by-step instructions how to do this.

Back to top