You can create a VM template by using the following methods:
Import as template—Imports a VM template compressed package (in .tar.gz format). You can import only the VM template files downloaded from the system.
Clone as template—Creates a template copy of a VM, while leaving the original VM in place.
Convert to template—Converts a VM in shutdown state to a template. The converted VM can be used only as a template and is removed from the navigation pane.
You can also export a VM in shutdown state to an OVF template. Open Virtualization Format (OVF) is an open standard defining the file format that allows for compatibility of VMs across management platforms. This section describes how to clone and convert a VM to a template. For how to export a VM as an OVF template, see "Export an OVF template."
You cannot create an OVF template from a VM that has a floppy disk drive mounted.
A VM in the security zone cannot be exported as an OVF template.
For a VM that has mounted GPU/vCPU devices, you can create a VM template from the VM only when the VM is offline. VMs deployed by using this template do not contain GPU devices.
Before you clone or convert a Linux VM, delete the /etc/udev/rules.d/70-persistent-net.rules file from the Linux OS. If you do not delete this file, VMs deployed using the template cannot find the eth0 NIC.
To ensure successful OS configuration for a VM deployed through a VM template, do not use the /usr directory as an independent partition when cloning or converting a VM installed with a Linux OS to a template.
To prevent source VM static IP from being kept on the NIC of a VM deployed through the VM template, change the IP addressing mode to automatic before cloning or converting a VM to a template.
Before you convert or clone a VM that uses an SUSE openSUSE or Ubuntu Linux operating system to a VM template, clear its NIC configuration files. If you do not clear the files, network parameter modifications do not take effect on the VMs created based on the VM template.
From the left navigation pane, select Resources > Host Pool Name > Host Name > VM Name or Resources > Host Pool Name > Cluster Name > Host Name > VM Name.
Click More, and then select Clone as Template.
Enter the template name and description, and then select a directory to store the template and the template owner.
Click OK.
From the left navigation pane, select Resources > Host Pool Name > Host Name > VM Name or Resources > Host Pool Name > Cluster Name > Host Name > VM Name.
Click More, and then select Convert to Template.
Enter a name and description for the VM template, and select the path to save the template and the template owner.
Click OK.
From the left navigation pane, select Resources > host pool name > host name > VM name or Resources > Host Pool Name > Cluster Name > Host Name > VM Name.
Click More, and then select Export OVF Template.
Click OK.
Template Pool: Select the directory that stores the VM template.