deploy_linked_clone
Create a linked clone from a VM snapshot to provision test/dev environments with minimal storage and fast deployment.
Instructions
[WRITE] Create a linked clone from a VM snapshot — near-instant, minimal disk usage.
The clone writes to a copy-on-write delta over the source's base disk, so it depends on the source staying intact. Fastest provisioning for test/dev fleets; use vm_clone for fully independent copies. Requires the named snapshot — run vm_list_snapshots first. Returns a status string with the new clone name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | Override vCPU count; omit to keep the source's value. | |
| target | No | vCenter/ESXi target from config.yaml; omit for the default. | |
| new_name | Yes | Name for the new linked clone; must not already exist. | |
| power_on | No | Power the clone on after creation (default False). | |
| memory_mb | No | Override memory in MB; omit to keep the source's value. | |
| snapshot_name | Yes | Clone base (from vm_list_snapshots). | |
| source_vm_name | Yes | Source VM name (must have at least one snapshot). | |
| baseline_snapshot | No | If set, snapshots the new clone with this name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |