Perform this task to create a VM template from an existing VM in the system or import a local VM template to the system. A VM template can be used for fast VM deployment.
You can create a VM template by using the following methods:
For a successful upload of a VM template, do not close the browser or the window for importing the VM template during the upload process.
To avoid template import failure because of login timeout, do not stay at the port profile configuration page for a long time.
On the top navigation bar, click
From the left navigation pane, select
Click
Click
Select a host, and then click
Click in the dashed box to select a VM template file, or drag a VM template file to the dashed box.
Click
After the upload, click the icon to select a port profile for the VM template.
Select an owner for the VM.
Click
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
To ensure successful OS configuration for a VM deployed through a VM template, do not use the
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.
For a VM that runs a Windows 7 operating system, you must disable the hibernation feature for that VM before you can clone or convert it to a template. If you do so, the VM deployed from that template might be unable to be woken up.
For VMs that use an RBD storage pool (with disk format as high-speed), the disk format will change to intelligent after the VM is converted to a template.
On the top navigation bar, click
From the left navigation pane, select
Click
Enter the template name and description, and then select a directory to store the template and the template owner.
Click
When a VM OVF template package is being uploaded to the system, do not close the browser or the dialog box for importing the template. If you do so, the upload will fail.
On the top navigation bar, click
From the left navigation pane, select
Click
Click
Select a storage location, and then click
Click in the dashed box and select the target OVF template package (.tar.gz file), or drag the target OVF template package to the dashed box.
Click