goodhosts / vagrant

Vagrant plugin that use goodhosts to manipulate hosts files
https://rubygems.org/gems/vagrant-goodhosts/
MIT License
17 stars 8 forks source link

Where Should One Add config.goodhosts.remove_on_suspend? #33

Closed davidshq closed 3 years ago

davidshq commented 3 years ago

I added config.goodhosts.remove_on_suspend = false to the bottom of my config/config.yml file and this causes Vagrant to say it isn't a valid config file. Where should this config option be placed?

Mte90 commented 3 years ago

This plugin is not just for VVV.

That is a Ruby code and you cannot insert in the a yaml file as you did. You need to edit the vagrantfile or in the case of VVV check how works the customfile. https://varyingvagrantvagrants.org/docs/en-US/references/vagrantfile/