ConvertTemplateToVm​Convert​Template​To​Vm

Convert a template into a usable virtual machine (VM).

This task converts a VM template into a standard virtual machine. The original template becomes unavailable for further VM deployments. You may optionally power on the resulting VM immediately 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

The name of the host where the VM will run.

The password for authentication.

The password used to authenticate with the VMware server.

The URL of the server.

The URL to connect to the VMwareserver. This is a FQDN or an IP address (eg: esxi.mycompany.com), so without any protocol nor port.

The name of the template to convert.

The username for authentication.

The username used to authenticate with the server. It could be something like '[email protected]' for vCenter or 'root' for ESXi.

Default 443

The port for the connection.

The port to connect to the server. Default is 443.

Default false

Whether to power on the VM after conversion.

The path to the trust store file.

The path to the trust store file containing certificates for secure connections. If not provided, an empty keystore will be created and the connection will be insecure.