vm_create
Create a new powered-off VMware VM with defined CPU, memory, disk, network, and datastore settings. Use to provision an empty virtual machine for later OS installation or cloning.
Instructions
[WRITE] Create a new empty VM with the given hardware sizing.
Creates a powered-off VM with one disk and one NIC. To populate it, attach an ISO (attach_iso_to_vm) and power it on, or use deploy_vm_from_ova or vm_clone for a ready-to-run guest. Fails before creating anything if the datastore is not found. Returns a status string with the new VM name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpu | No | vCPU count (default 2). | |
| target | No | vCenter/ESXi target from config.yaml; omit for the default. | |
| disk_gb | No | Primary disk size in GB (default 40). | |
| vm_name | Yes | Name for the new VM; must not already exist. | |
| memory_mb | No | Memory in MB (default 4096). | |
| folder_path | No | vCenter folder path; omit for the datacenter root. | |
| network_name | No | Port group for the NIC (default "VM Network"). | VM Network |
| datastore_name | No | Target datastore; omit for the first accessible one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |