attach_iso_to_vm
Attach an ISO from a datastore to a VM's CD-ROM drive for OS installation or data access.
Instructions
[WRITE] Attach an ISO from a datastore to a VM's CD-ROM drive.
Args: vm_name: Target VM name. iso_ds_path: Datastore path, e.g. "[datastore1] iso/ubuntu.iso". target: Optional vCenter/ESXi target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| iso_ds_path | Yes | ||
| target | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |