×

You can edit a virtual machine template in the web console.

Editing a virtual machine template in the web console

You can edit the YAML configuration of a virtual machine template from the web console.

Not all parameters can be modified. If you click Save with an invalid configuration, an error message indicates the parameter that cannot be modified.

Navigating away from the YAML screen while editing cancels any changes to the configuration that you made.

Procedure
  1. In the container-native virtualization console, click WorkloadsVirtual Machine Templates.

  2. Select a template.

  3. Click the YAML tab to display the editable configuration.

  4. Edit the file and click Save.

A confirmation message, which includes the updated version number for the object, shows the modification has been successful.

Adding a virtual disk to a virtual machine template

Add a disk to a virtual machine.

Procedure
  1. From the Virtual Machine Templates tab, select your virtual machine template.

  2. Select the Disks tab.

  3. Click Add Disks to open the Add Disk window.

  4. In the Add Disk window, specify Source, Name, Size, Interface, and Storage Class.

  5. Edit the disk configuration by using the drop-down lists and check boxes.

  6. Click OK.

Adding a network interface to a virtual machine template

Procedure
  1. From the Virtual Machine Templates tab, select the virtual machine template.

  2. Select the Network Interfaces tab.

  3. Click Create Network Interface.

  4. In the Create Network Interface list row, specify the Name, Model, Network, Type, and MAC Address of the network interface.

  5. Click the green check-mark to the right of the row to add the network interface.

  6. Restart the virtual machine to enable access.

  7. Edit the drop-down lists and check boxes to configure the network interface.

  8. Click Save Changes.

  9. Click OK.

The new network interface displays at the top of the Create Network Interface list until the user restarts it.

The new network interface has a Pending VM restart Link State until you restart the virtual machine. Hover over the Link State to display more detailed information.

The Link State is set to Up by default when the network interface card is defined on the virtual machine and connected to the network.