Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am haukeadler on github.
* I am haukea (https://keybase.io/haukea) on keybase.
* I have a public key ASAF-rUnyDcxp-udl2_dAZxTCOmuPk5d2vwoBWqC6UgWYwo
To claim this, I am signing this object:
@haukeadler
haukeadler / install_vagrant_sudoers.sh
Last active August 29, 2015 14:26 — forked from GUI/install_vagrant_sudoers.sh
Allow Vagrant sudo-access without password for NFS-setup (for OS X Yosemite 10.10.4, requires Vagrant 1.7.3+)
#!/bin/bash
# Script for placing sudoers.d files with syntax-checking
# Making a temporary file to contain the sudoers-changes to be pre-checked
TMP=$(mktemp -t vagrant_sudoers)
cat /etc/sudoers > $TMP
cat >> $TMP <<EOF
# Allow passwordless startup of Vagrant when using NFS.
# see http://docs.vagrantup.com/v2/synced-folders/nfs.html