From 5f832467b3e8f585c0f20b34c5202f703149287f Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 7 Jan 2014 21:16:48 -0800 Subject: [PATCH] core: event he default host shuld have proper API --- lib/vagrant/environment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 6d8d79cc9..79708cff6 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -504,8 +504,8 @@ module Vagrant # If the auto-detect failed, then we create a brand new host # 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" - klass = Class.new(Vagrant.plugin("2", :host)) do - def detect?; true; end + klass = Class.new(Vagrant.plugin("2", :host)) do + def detect?(env); true; end end hosts = { generic: [klass, nil] }