
VMware CloneTemplate
CertifiedEnterprise EditionClone a template to a new template
VMware CloneTemplate
Clone a template to a new template
Duplicates an existing VM template into another template on vCenter. No power-on occurs; use for versioned base images.
type: io.kestra.plugin.ee.vmware.vcenter.CloneTemplateExamples
Clone a template into another template
id: clone_template
namespace: company.team
tasks:
- id: clone
type: io.kestra.plugin.ee.vmware.vcenter.CloneTemplate
server: "vcenter.mycompany.com"
username: "{{ secret('VMWARE_VCENTER_USERNAME') }}"
password: "{{ secret('VMWARE_VCENTER_PASSWORD') }}"
templateName: "ubuntu-golden-template"
targetTemplateName: "ubuntu-golden-template-v2"
hostname: "esxi01.mycompany.com"
datastoreName: "datastore1"
Properties
datastoreName *Requiredstring
Datastore
Datastore that will hold the cloned template files.
hostname *Requiredstring
Placement host
ESXi host on which to register the cloned template.
password *Requiredstring
Password
server *Requiredstring
Server hostname or IP
FQDN or IP of the vCenter or ESXi endpoint (no scheme or port).
targetTemplateName *Requiredstring
New template name
templateName *Requiredstring
Source template name
username *Requiredstring
Username
e.g. Administrator@vsphere.local for vCenter or root for ESXi.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
port integerstring
443Server port
Defaults to 443.
trustStorePath string
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.