Skip to main content

VMware: Convert VM to Template

Description

This step converts a virtual machine into a template in your VMware environment. You provide the VM name. The VM must be powered off before conversion. Use this step in workflows that create reusable templates from configured VMs, prepare golden images for deployment, or archive VM configurations as templates.

Configurations

General

No.Field NameDescription
1Step NameName of the step. This name must be unique in a single workflow.
Configuration
1vCenter Server Base URLSpecify the vCenter Server Base URL to connect to vCenter (e.g., https://vmware.example.com).
Note: If vCenter IP is used instead of server name, a certificate error may occur unless the IP is listed in the certificate’s Subject Alternative Name.
2PortSpecify the vCenter server port. Default is 443.
Data type: Integer
Valid range: Less than 65536
3UsernameSpecify the username to authenticate to the vCenter server.
Password:
4Accept value as variable/staticLeave the checkbox unchecked to use values from previous steps (drop-down). Enable it to enter static/environment variable value.
5PasswordEntered using a widget that supports both static values and drop-downs.
If checkbox above is enabled, the field appears as a text box.
Otherwise, it appears as a drop-down.
This field is mandatory.
Note: Field values are only accessible during workflow execution.
6Button: Test ConnectionVerifies connection availability. Only static values and environment variables are allowed for this check.

Input Tab

No.Field NameDescription
1Virtual Machine Name/UUIDSpecify the name or UUID of the VM to be converted to a template.
Data type: String
This field is mandatory.
Note:
• Refer to the VMware Plugin Introduction to get VM UUID.
• If duplicate VM names exist, use UUID to uniquely identify the VM.
• If the VM name contains %, replace it with %25 in this field.
2Button: GetRetrieves the list of VM names if the connection is successful.
Note: VM names with % are returned with % replaced by %25. You may leave it that way.

Common Buttons

No.Field NameDescription
1OKValidates and saves the field values if all required fields are provided.
2CancelCancels the configuration window without saving values.