Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am starting a vmware 2.x vm on a linux host.

This is my script:

#!/bin/sh
vmrun -T server -h https://localhost:11768/sdk -u tore -p mypass123 start "[my1] server1/server1.vmx"

The result when I call the script is:

Error: Cannot open VM: [my1] server1/server1.vmx, The virtual machine cannot be found

But I can start the vm from the browser ui. And in the browser ui it is configured like this:

Virtual Machine Configuration File: [my1] server1/server1.vmx
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try replacing localhost with the ipaddress of the host.

share|improve this answer
    
it works. thank you! –  Tore Niedahl Jun 13 '10 at 16:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.