ConvertTemplateToVm
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.
type: "io.kestra.plugin.ee.vmware.vcenter.ConvertTemplateToVm"
Examples
Convert a template to a VM and power it on
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
hostname *Requiredstring
The name of the host where the VM will run.
password *Requiredstring
The password for authentication.
The password used to authenticate with the VMware server.
server *Requiredstring
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.
templateName *Requiredstring
The name of the template to convert.
username *Requiredstring
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.
port integerstring
443
The port for the connection.
The port to connect to the server. Default is 443.
powerOn booleanstring
false
Whether to power on the VM after conversion.
trustStorePath string
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.