SUDO installation is required for the VMware Linux templates.
- Connect to vCenter
- Create a virtual machine using a New Virtual Server wizard.
- Open VS settings and attach ISO with OS
- Install OS on this VS
- Install VMware tools inside the VS by following the VMware instructions. (This step is required!)
- Make sure that Perl is installed on this VS. (This step is required!)
Make sure that the network service is enabled and the NetworkManager service is disabled before converting a CentOS VS to template:
- Select your VS > Template > Clone to Template
After this, add the record manually to the OnApp templates table. For example:
file_name - is the template's name. The template file name (file_name) must match the letter case of a VMware template label in the vCenter.
initial_password and initial_username - are the login and password set during the vCenter VS creation.
- OnApp supports templates with not more than one disk.
- To be able to use Ubuntu templates later than 9 version for VMware virtual server creation, you need to remove the absolute pathnames in /etc/pam.d/vmtoolsd file. For example: /lib/security/pam_unix.so > pam_unix.so
Example for CentOS 7
Example for Windows Server 2019