流浪汉,流浪汉错误--provider = vmware_workstation。 VMware版本不匹配

时间:2016-11-13 10:59:42

标签: windows vagrant

我想vagrant up --provider=vmware_workstation。但是,发生了错误。

$ vagrant --version
Vagrant 1.8.7

$ vagrant plugin install vagrant-vmware-workstation
Installed the plugin 'vagrant-vmware-workstation (4.0.14)'!

$ vagrant plugin license vagrant-vmware-workstation C:/license.lic
Installing license for 'vagrant-vmware-workstation'...
The license for 'vagrant-vmware-workstation' was successfully installed!

$ vagrant up --provider=vmware_workstation
Bringing machine 'default' up with 'vmware_workstation' provider...
This provider only works with VMware Workstation 9.x, 10.x, 11.x, and
12.x. You have Workstation ''. Please install the proper
version of VMware Workstation and try again.

我使用了这个Vagrantfile:

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "vmware_precise64"
  config.vm.provider "vmware_workstation" do |v|
    v.gui = true
   end
end

我使用此版本的VMware:

I used VMware is this.

我尝试过的事情清单。

  • 重新安装Vagrant。
  • 重新安装VMware。

1 个答案:

答案 0 :(得分:1)

您没有安装VMware Workstation(Pro),Vagrant会报告错误。

您正在使用免费的VMware Workstation Player not supported

  

我可以使用VMWARE WORKSTATION PLAYER吗?

     

Vagrant VMware Workstation插件的某些功能将与VMware Player一起使用,但它不受官方支持。 Vagrant通过VMware API与VMware交互,某些版本的VMware Workstation Player不支持这些API。如有疑问,请购买VMware Workstation Pro以使用集成支持的所有功能。