core: event he default host shuld have proper API

This commit is contained in:
Mitchell Hashimoto 2014-01-07 21:16:48 -08:00
parent 26b564566b
commit 5f832467b3
1 changed files with 2 additions and 2 deletions

View File

@ -504,8 +504,8 @@ module Vagrant
# If the auto-detect failed, then we create a brand new host # If the auto-detect failed, then we create a brand new host
# with no capabilities and use that. This should almost never happen # with no capabilities and use that. This should almost never happen
# since Vagrant works on most host OS's now, so this is a "slow path" # since Vagrant works on most host OS's now, so this is a "slow path"
klass = Class.new(Vagrant.plugin("2", :host)) do klass = Class.new(Vagrant.plugin("2", :host)) do
def detect?; true; end def detect?(env); true; end
end end
hosts = { generic: [klass, nil] } hosts = { generic: [klass, nil] }