We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c621965 commit 5a22784Copy full SHA for 5a22784
lib/vagrant-hostmanager/action/update_guest.rb
@@ -11,6 +11,14 @@ def initialize(app, env)
11
@machine = env[:machine]
12
@global_env = @machine.env
13
@provider = env[:provider]
14
+
15
+ # config_global is deprecated from v1.5
16
+ if Gem::Version.new(::Vagrant::VERSION) >= Gem::Version.new('1.5')
17
+ @config = @global_env.vagrantfile.config
18
+ else
19
+ @config = @global_env.config_global
20
+ end
21
22
@logger = Log4r::Logger.new('vagrant::hostmanager::update_guest')
23
end
24
0 commit comments