core: event he default host shuld have proper API
This commit is contained in:
parent
26b564566b
commit
5f832467b3
|
@ -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] }
|
||||||
|
|
Loading…
Reference in New Issue