mechboxes/mech

VMWare Tools not Present

miketweaver opened this issue · 4 comments

This VM I spun up is very slow to run when I don't have vmware tools installed. This process took, probably, 15 minutes. The VM appears to be running, but doesn't show in Fusion because of start nogui.

VMWare Tools is not installed on the guest (by design).

$ mech up luke
Getting IP address...
VM started on Error: The VMware Tools are not running in the virtual machine: /Users/miketweaver/.mech/luke/packer-vmware-iso.vmx
Sharing current folder...
VM started on Error: The VMware Tools are not running in the virtual machine: /Users/miketweaver/.mech/luke/packer-vmware-iso.vmx

I'm unsure if this is something that mech can fix. I think vmrun is sort of dependent on VMWare Tools.

Do you want mech to install VMWare Tools for you?

No. At least not without prompting.

A better option would be to use check_tools before running vm.ip(),vm.enableSharedFolders(),vm.addSharedFolder('mech', os.getcwd()) (link) as those won't be supported if VMWare Tools is not installed.

Ah okay I see your point

Improved in 300436d

Should help. I think the usefulness of mech is neutered if VMWare Tools isn't installed but at least you don't get stuck somewhere now.