devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 146 forks source link

Can password prompts be avoided completely? #195

Closed mikenerone closed 8 years ago

mikenerone commented 8 years ago

I'm about the furthest thing from an expert on vagrant, but I've seen other plugins that perform actions in the guest VM as root without any password prompts at all (apparently without using sudo). E.g. vagrant-vbguest, which installs system packages, compiles a bit, and installs guest extensions within the guest.

Is there any possibility the same method could be used by vagrant-hostmanager? This would be more convenient than needing to edit /etc/sudoers (especially during the first run of the guest unless special care is taken with the order of provisioning).

mikenerone commented 8 years ago

Nevermind, I completely misunderstood that that prompt was coming from the host side.