vagrant-hostmanager
vagrant-hostmanager copied to clipboard
Does not work when provisioners are disabled.
In the case of Docker containers when provisioners are disabled due to SSH not being available, the Action.update_all never runs.
action_hook(:hostmanager, :machine_action_up) do |hook|
hook.after(Vagrant::Action::Builtin::Provision, Action.update_all)
end
Hostsupdater still adds the hosts because they use:
action_hook(:hostsupdater, :machine_action_up) do |hook|
hook.append(Action::UpdateHosts)
end