VMware ConvertTemplateToVm

VMware ConvertTemplateToVm

Certified
Enterprise Edition

Convert a template into a VM

Marks a template as a normal VM on vCenter. The template ceases to be deployable as a template; optionally power on the VM after conversion.

yaml
type: io.kestra.plugin.ee.vmware.vcenter.ConvertTemplateToVm

Convert a template to a VM and power it on

yaml
id: convert_template_to_vm
namespace: company.team

tasks:
  - id: convert
    type: io.kestra.plugin.ee.vmware.vcenter.ConvertTemplateToVm
    server: "vcenter.mycompany.com"
    port: 443
    username: "{{ secret('VMWARE_VCENTER_USERNAME') }}"
    password: "{{ secret('VMWARE_VCENTER_PASSWORD') }}"
    templateName: "template-ubuntu"
    hostname: "192.168.122.65"
    powerOn: true
Properties

Target host

ESXi hostname where the converted VM will run.

Password

Server hostname or IP

FQDN or IP of the vCenter or ESXi endpoint (no scheme or port).

Template name to convert

Must reference an existing VM marked as a template.

Username

e.g. Administrator@vsphere.local for vCenter or root for ESXi.

Reference (ref) of the pluginDefaults to apply to this task.

Default443

Server port

Defaults to 443.

Defaultfalse

Power on after conversion

Default: false. If true, powers on the VM once conversion succeeds.

Trust store path

Optional path to a PKCS12 trust store containing the CA certificate(s) used to validate the vCenter/ESXi server's TLS certificate. If omitted (or if the path does not exist), the JVM's default trust store (system CA certificates) is used instead. Certificate validation is always enforced; this plugin never disables TLS certificate validation.