Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not remove aliases that are not defined #150

Open
kallookoo opened this issue Mar 21, 2018 · 2 comments
Open

Does not remove aliases that are not defined #150

kallookoo opened this issue Mar 21, 2018 · 2 comments
Labels

Comments

@kallookoo
Copy link

If the option to remove_suspend the plugin is set to false, it does not delete the old entries in the file when change the aliases.

@cgsmith
Copy link
Collaborator

cgsmith commented Mar 21, 2018

Hi @kallookoo - did you try removing config.hostsupdater.remove_on_suspend = false ?

See this part of the readme

@kallookoo
Copy link
Author

Hi @cgsmith
I say that it does not check when vagrant starts if in the hosts file there are domains that do not exist inside the aliases option, but it does add the new domains if not exists, when remove_on_suspend = false.

Example:
1.- vagrant up with 5 aliases 'a,b,c,d,e'
2.- vagrant halt
3.- remove 'e' and add 'f' in aliases option
4.- vagrant up, this plugin add new domain 'f' but not remove 'e'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants