Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

7.10. Creating a Virtual Machine Based on a Template

Create a virtual machine from a template to enable the virtual machines to be pre-configured with an operating system, network interfaces, applications and other resources.

Note

Virtual machines created from a template depend on that template. This means that you cannot remove a template from the Manager if a virtual machine was created from that template. However, you can clone a virtual machine from a template to remove the dependency on that template. See Section 7.11, “Creating a Cloned Virtual Machine Based on a Template” for more information.
When creating a virtual machine from a template, you can choose the format of the disk: either RAW or QCOW2. If the Storage Allocation is Thin, the format of the disk will be marked as QCOW2 and you will not be able to change it. If the Storage Allocation is Clone, you can select either QCOW2 or RAW.

Procedure 7.17. Creating a Virtual Machine Based on a Template

  1. Click the Virtual Machines tab.
  2. Click New VM.
  3. Select the Cluster on which the virtual machine will run.
  4. Select a template from the Based on Template list.
  5. Enter a Name, Description, and any Comments, and accept the default values inherited from the template in the rest of the fields. You can change them if needed.
  6. Click the Resource Allocation tab.
  7. Select the Thin radio button in the Storage Allocation area.
  8. Use the Target drop-down list to select the storage domain on which the virtual machine's virtual disk will be stored.
  9. Click OK.
The virtual machine is displayed in the Virtual Machines tab.