Posts tagged ‘VMware’

Enabling vmware-tools clock sync from inside the guest

Just found out how to turn on vmware-tools clocking syncing from inside the guest, rather than editing the .vmx file on the host.

Once you have vmware-tools installed and configured try this:

/usr/sbin/vmware-guestd --cmd "vmx.set_option synctime 0 1"

To verify this has worked look for this line in the corresponding .vmx file:

tools.syncTime = "TRUE"

vmrun – Control VMware Fusion from the command line

I’ve just needed to snapshot a virtual machine running under VMware Fusion on my Mac but I only had SSH access. I’ve discovered the vmrun utility which is hidden away in XXX. VMware have a PDF of how to use it here. Very handy!

% export PATH=/Library/Application\ Support/VMware\ Fusion/:$PATH
% vmrun listSnapshots SpaceWalk.vmx

Total snapshots: 1
Fresh 5.2 all updates
% vmrun -T fusion snapshot SpaceWalk.vmx "SpaceWalk Installed"
% vmrun listSnapshots SpaceWalk.vmx
Total snapshots: 2
Fresh 5.2 all updates
SpaceWalk Installed
%

Bravo!