What's wrong with my vmware start script?
Posted
by Tore Niedahl
on Server Fault
See other posts from Server Fault
or by Tore Niedahl
Published on 2010-06-13T16:08:10Z
Indexed on
2010/06/13
16:13 UTC
Read the original article
Hit count: 429
vmware
|vmware-server
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"
I have defined a local datastore [my1]
as /mnt/my1/vm
and the physical location of server1.vmx
is /mnt/my1/vm/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.
© Server Fault or respective owner