From 8e5510582ae2d6f9c9035050edf880184b9f11cc Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sun, 8 Nov 2015 20:47:17 -0600 Subject: [PATCH] Fixing first vagrant up issue #28 --- lib/vagrant-hostsupdater/plugin.rb | 2 +- lib/vagrant-hostsupdater/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-hostsupdater/plugin.rb b/lib/vagrant-hostsupdater/plugin.rb index 428d647..757cb6b 100644 --- a/lib/vagrant-hostsupdater/plugin.rb +++ b/lib/vagrant-hostsupdater/plugin.rb @@ -18,7 +18,7 @@ class Plugin < Vagrant.plugin('2') action_hook(:hostsupdater, :machine_action_up) do |hook| hook.prepend(Action::RemoveHosts) - hook.after(Action::RemoveHosts, Action::UpdateHosts) + hook.after(Vagrant::Action::Builtin::SetHostname, Action::UpdateHosts) end action_hook(:hostsupdater, :machine_action_provision) do |hook| diff --git a/lib/vagrant-hostsupdater/version.rb b/lib/vagrant-hostsupdater/version.rb index 8ec37e8..2b4a72e 100644 --- a/lib/vagrant-hostsupdater/version.rb +++ b/lib/vagrant-hostsupdater/version.rb @@ -1,5 +1,5 @@ module VagrantPlugins module HostsUpdater - VERSION = "1.0.0" + VERSION = '1.0.1' end end