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

IP conflicts between vm's

Open peterdd opened this issue 6 years ago • 1 comments

When 2 vagrants with different ip addresses assigned in their Vagrantfile's, but the same domain configured and up, I see 2 entries for the same domain in hosts /etc/hosts, for instance

10.0.0.38 ldap.example.com # VAGRANT: 8786.... 10.0.0.39 ldap.example.com # VAGRANT: bb25...

Shouldn't hostsupdater detect this? What should be done? A warning shown during vagrant up? Just asking.

peterdd avatar Sep 04 '19 09:09 peterdd

Yea that should be picked up. Can you share your VagrantFile so I can reproduce?

cgsmith avatar Sep 04 '19 14:09 cgsmith