deploy_vm_from_template
Clone virtual machines from vSphere templates to provision new VMs with customizable CPU, memory, datastore, and snapshot options.
Instructions
Deploy a new VM by cloning from a vSphere template.
Args: template_name: Name of the source vSphere template. new_name: Name for the new VM. datastore_name: Target datastore (uses template's datastore if omitted). cpu: Override CPU count (optional). memory_mb: Override memory in MB (optional). power_on: Power on after deployment. snapshot_name: Create a baseline snapshot with this name (optional). target: Optional vCenter/ESXi target name from config.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_name | Yes | ||
| new_name | Yes | ||
| datastore_name | No | ||
| cpu | No | ||
| memory_mb | No | ||
| power_on | No | ||
| snapshot_name | No | ||
| target | No |