devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 148 forks source link

vagrant reload and vagrant halt #278

Open ghost opened 4 years ago

ghost commented 4 years ago

is it possible to hook this feature to vagrant reload and vagrant halt as well. I know that it been hook to vagrant up and vagrant destroy

it would make sense to use vagrant reload if you need to add additional hosts when u do a vagrant reload --provision and vagrant halt to remove the hosts file

it just doesn't make sense to destroy just to add additional hosts file.

Is there a ticket for this.