Here's the setup: VM Workstation 10 running on Ubuntu Server 12.04LTS, a few virtual clients including but not limited to FreeBSD, CentOS (UDAserver to be specific), Windows server etc.
I am trying to find an easy solution to soft power all these machines before rebooting or shutting down my physical server. I've tried many different approaches, mostly revolving around the "vmrun" command, so I can write a custom script (If needed). I haven't been able to find any solutions online to this kind of problem.
Stop's the machine cold, I tried editing the .vmx file and changing "hard" to "soft", and softpower "TRUE" (Not exact syntax), no changes.
This command seems to do nothing I have to ctrl C to stop it.
Can anyone point me in the right direction?
I am trying to find an easy solution to soft power all these machines before rebooting or shutting down my physical server. I've tried many different approaches, mostly revolving around the "vmrun" command, so I can write a custom script (If needed). I haven't been able to find any solutions online to this kind of problem.
Code:
sudo vmrun stop /var/lib/vmware/Shared\ VMs/FreeBSD/FreeBSD.vmx
Code:
sudo vmrun -gu root -gp LAMEPASSWORD runProgramInGuest /var/lib/vmware/Shared\ VMs/FreeBSD/FreeBSD.vmx /sbin/poweroff
Code:
sudo vmrun -gu root -gp LAMEPASSWORD runProgramInGuest "/var/lib/vmware/Shared\ VMs/FreeBSD/FreeBSD.vmx" /sbin/poweroff
Error: Cannot open VM: /var/lib/vmware/Shared\ VMs/FreeBSD/FreeBSD.vmx, The virtual machine cannot be found
Can anyone point me in the right direction?