Skip to content

Instantly share code, notes, and snippets.

Mateus Revoredo mateusrevoredo

View GitHub Profile
@mateusrevoredo
mateusrevoredo / install_vagrant_sudoers.sh
Last active Aug 29, 2015 — forked from joemaller/install_vagrant_sudoers.sh
Vagrant NFS Mount Without Password
View install_vagrant_sudoers.sh
#!/bin/bash
# Add Vagrant's NFS setup commands to sudoers, for `vagrant up` without a password
# Updated to work with Vagrant 1.7.x
# Allow passwordless startup of Vagrant when using NFS.
# Based on https://gist.github.com/joemaller/6764700
# Stage updated sudoers in a temporary file for syntax checking
TMP=$(mktemp -t vagrant_sudoers)
cat /etc/sudoers > $TMP
You can’t perform that action at this time.