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

allow wholesale skipping

Open tkellen opened this issue 8 years ago • 5 comments

It's awesome that this plugin will skip prompting if you've configured your hosts ahead of time. It would be even cooler if you could opt to skip as a box is being brought up, that way the security conscious don't have to stop the process, go add the entries, and run vagrant up again.

==> vagrant: [vagrant-hostsupdater] These entries need to be added to /etc/hosts
==> vagrant: [vagrant-hostsupdater]   192.168.33.40 vagrant.loc
==> vagrant: [vagrant-hostsupdater] Would you like to allow this? (y/n)

Thoughts?

tkellen avatar Mar 07 '16 22:03 tkellen

Hey @tkellen! I like the idea. Don't have time to try it today but will attempt when I get more time.

Kick ass avatar photo by the way! What a huge saw!

cgsmith avatar Mar 08 '16 00:03 cgsmith

Thank you so much @cgsmith! We use this plugin a TON at Bocoup!

tkellen avatar Mar 08 '16 02:03 tkellen

ps: thanks about the avatar, if you want to see what i was sawing you can watch this! https://vimeo.com/120923927

tkellen avatar Mar 08 '16 02:03 tkellen

@tkellen I think I am going to add this as a flag you can set in the VagrantFile - This way the process won't stall out waiting for a user prompt.

cgsmith avatar Jul 13 '17 16:07 cgsmith

By that I mean something like:

add-missing-entries: true

cgsmith avatar Jul 13 '17 16:07 cgsmith