Get VM IP Address
fusion_get_ipRetrieve the IP address of a running VMware Fusion virtual machine by providing the path to its .vmx file. Optionally wait for the guest to obtain an IP.
Instructions
Get the IP address of a running VMware Fusion guest OS.
The VM must be running and have VMware Tools installed for this to work.
Args:
vmx_path (string): Absolute path to the VM's .vmx file.
wait (boolean, optional): If true, waits for the guest to obtain an IP. Default: true.
Returns: The IP address as a string, or an error if unavailable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait for the guest to obtain an IP address | |
| vmx_path | Yes | Absolute path to the .vmx file | |
| vm_password | No | Encryption password for the VM (if encrypted) |