vm_guest_upload
Upload a file from local machine to a VM using VMware Tools. Provide VM name, local path, and guest path.
Instructions
[WRITE] Upload a file from local machine to a VM via VMware Tools.
Requires VMware Tools running in the guest OS.
Args: vm_name: Target VM name. local_path: Local file path to upload. guest_path: Destination path inside the guest. username: Guest OS username (default "root"). password: Guest OS password. target: Optional vCenter/ESXi target name from config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_name | Yes | ||
| local_path | Yes | ||
| guest_path | Yes | ||
| username | No | root | |
| password | No | ||
| target | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |