agiledivider / vagrant-hostsupdater

MIT License
1.15k stars 129 forks source link

Doesn't update using multi-profiles on one vagrant #117

Closed openbayou closed 8 years ago

openbayou commented 8 years ago

Hey, I think I may have found a problem with hostupdater using a different profile on one Virtual PC. I have a vagrant setup using one virtual PC but I have different configurations to sync a different directory and different domain name. It works on vagrant file that I created but when I make another vagrant file to use the same Virtual PC, it doesn't update my hosts file.

Is this a known bug, do I need to create a new Virtual PC with another vagrant file, or does the plugin only work with one vagrant file and one virtual PC and not one virtual PCs and multiple vagrant files?

cgsmith commented 8 years ago

Can you provide a minimum Vagrantfile that I can test? Steps to replicate will be best as well.

openbayou commented 8 years ago

Figured out the problem, it sets whatever was the last generated file as the vagrant file.