我试图在Windows10上用hostmanager插件编写vagrantfile,但是遇到了一个问题。插件安装收到如下警告后,最终找不到“hostmanager”:
λ vagrant plugin install hostmanager
Installing the 'hostmanager' plugin. This can take a few minutes...
Fetching: rubyhacks-0.1.5.gem (100%)
Fetching: hostmanager-1.2.2.gem (100%)
WARNING: Unable to use symlinks on Windows, installing wrapper
Installed the plugin 'hostmanager (1.2.2)'!
λ vagrant up
Bringing machine 'foo' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
* The 'hostmanager' provisioner could not be found.
Vagrant:
* Unknown configuration section 'hostmanager'.
如何解决这个符号链接问题?
最佳答案
类型
vagrant plugin install vagrant-hostmanager
一切都会好起来的