7.2. Creating a Template


Create a template from an existing virtual machine to use as a blueprint for creating additional virtual machines.

Important

Before you create a template, you must seal the source virtual machine to ensure all system-specific details are removed from the virtual machine. This is necessary to prevent the same details from appearing on multiple virtual machines created based on the same template. See Section 7.1.1, “Sealing a Linux Virtual Machine for Deployment as a Template”.

Procedure 7.4. Creating a Template

  1. Click the Virtual Machines tab and select the source virtual machine.
  2. Ensure the virtual machine is powered down and has a status of Down.
  3. Click Make Template.

    Figure 7.1. The New Template window

  4. Enter a Name, Description, and Comment for the template.
  5. Select the cluster with which to associate the template from the Cluster drop-down list. By default, this is the same as that of the source virtual machine.
  6. Optionally, select a CPU profile for the template from the CPU Profile drop-down list.
  7. Optionally, select the Create as a Sub Template version check box, select a Root Template, and enter a Sub Version Name to create the new template as a sub template of an existing template.
  8. In the Disks Allocation section, enter an alias for the disk in the Alias text field, and select the storage domain on which to store the disk from the Target list. By default, these are the same as those of the source virtual machine.
  9. Select the Allow all users to access this Template check box to make the template public.
  10. Select the Copy VM permissions check box to copy the permissions of the source virtual machine to the template.
  11. Click OK.
The virtual machine displays a status of Image Locked while the template is being created. The process of creating a template may take up to an hour depending on the size of the virtual machine disk and the capabilities of your storage hardware. When complete, the template is added to the Templates tab. You can now create new virtual machines based on the template.

Note

When a template is made, the virtual machine is copied so that both the existing virtual machine and its template are usable after template creation.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat