vagrant-hostmanager icon indicating copy to clipboard operation
vagrant-hostmanager copied to clipboard

Does not work when provisioners are disabled.

Open oxyc opened this issue 8 years ago • 0 comments

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

oxyc avatar Sep 23 '17 20:09 oxyc