我试图在 Windows 10 上使用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'.
如何解决这个符号链接问题?
答案 0 :(得分:1)
输入
vagrant plugin install vagrant-hostmanager
它会正常工作