agiledivider / vagrant-hostsupdater

MIT License
1.15k stars 129 forks source link

Is a passwordless sudo possible? #136

Closed ghost closed 7 years ago

ghost commented 7 years ago

I'm running on Ubuntu 16.04.2 LTS. Is there any commands I can add to /etc/sudoers or other tricks to allow vagrant to update the hosts file without a sudo pw?

ghost commented 7 years ago

I'm an idiot :

https://github.com/cogitatio/vagrant-hostsupdater#passwordless-sudo