From f8426f9e3ac8c647f6d94f4288ea6be7439ca724 Mon Sep 17 00:00:00 2001 From: James Brown Date: Mon, 21 Dec 2015 15:22:42 -0800 Subject: [PATCH] use the scoped config block when running as a provisioner instead of trying to get the global config --- lib/vagrant-hostmanager/provisioner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-hostmanager/provisioner.rb b/lib/vagrant-hostmanager/provisioner.rb index 1576c73..138a18b 100644 --- a/lib/vagrant-hostmanager/provisioner.rb +++ b/lib/vagrant-hostmanager/provisioner.rb @@ -7,7 +7,7 @@ class Provisioner < Vagrant.plugin('2', :provisioner) def initialize(machine, config) super(machine, config) global_env = machine.env - @config = Util.get_config(global_env) + @config = config @updater = HostsFile::Updater.new(global_env, machine.provider_name) end