2016-11-13 232 views
1

我想vagrant up --provider=vmware_workstation。但是,发生错误。流浪汉,流浪汉出错--provider = vmware_workstation。 VMware版本不匹配

$ 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

您没有安装VMware Workstation(Pro),并且Vagrant报告了该错误。

您使用免费的VMware Workstation的球员是not supported

我可以使用VMware Workstation的球员?

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

+0

谢谢!我将使用VMware Workstation(Pro)。 – d9magai