0
聽起來很簡單 - 我試圖只爲Virtualbox切換vagrant hostmanager插件。流浪漢供應商特定的主機管理員設置
所以我試圖重寫:
config.hostmanager.enabled = false
...
config.vm.provider "virtualbox" do |vb|
vb.hostmanager.enabled = true
...
end
config.vm.provider "azure" do |azure|
# do nothing
...
end
然而,流浪者抱怨吧:
There are errors in the configuration of this machine. Please fix the following errors and try again:
VirtualBox Provider:
* The following settings shouldn't exist: hostmanager
編輯:我也想......
config.vm.provider "virtualbox" do |vb,override|
override.hostmanager.enabled = true
...
end
這不拋出一個錯誤,但它也不會運行hostmanager :(
我在做什麼錯?