7.10. Creating a Virtual Machine Based on a Template

download PDF

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.


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.

Creating a Virtual Machine Based on a Template

  1. Click Compute Virtual Machines.
  2. Click New.
  3. Select the Cluster on which the virtual machine will run.
  4. Select a template from the 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 or Clone radio button in the Storage Allocation area. If you select Thin, the disk format is QCOW2. If you select Clone, select either QCOW2 or Raw for disk format.
  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.

Red Hat logoGithubRedditYoutubeTwitter


Try, buy, & sell


About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.