mechboxes / mech

Easy command line virtual machines for VMWare
https://mechboxes.github.io/mech/
MIT License
311 stars 49 forks source link

mech up error VIX_SERVICEPROVIDER_VMWARE_WORKSTATION (windows 10/vmware workstation player 14) #52

Closed rgcr closed 5 years ago

rgcr commented 6 years ago

I'm getting this error:

 λ mech up
Bringing machine up...
ERROR: Unable to connect to host.
Error: Service type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION was specified, but not installed
VM not started

And this is because the only provider for windows at the moment in the code is ws (Line 83 and Line 86).

 λ vmrun -T ws list
Unable to connect to host.
Error: Service type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION was specified, but not installed

The right provider for me is player So we must identify the provider instead assume is always ws

λ vmrun -T player list
Total running VMs: 1
...