Red Hat virtual machine templates cannot be deleted. You can use the web console to delete:

  • Virtual machine templates created from Red Hat templates

  • Custom virtual machine templates that were created by using the Create Virtual Machine Template wizard.

Deleting a virtual machine template in the web console

Deleting a virtual machine template permanently removes it from the cluster.

You can delete virtual machine templates that were created by using a Red Hat template or the Create Virtual Machine Template wizard. Preconfigured virtual machine templates that are provided by Red Hat cannot be deleted.

Procedure
  1. In the OpenShift Virtualization console, click WorkloadsVirtualization from the side menu.

  2. Click the Templates tab. Select the appropriate method to delete a virtual machine template:

    • Click the Options menu kebab of the template to delete and select Delete Template.

    • Click the template name to open the Virtual Machine Template Details screen and click ActionsDelete Template.

  3. In the confirmation pop-up window, click Delete to permanently delete the template.