diff options
author | varac <varacanero@zeromail.org> | 2016-01-18 00:44:22 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-01-18 00:44:22 +0100 |
commit | 07ae3145dba2e373815ed846fea732f71cbe24c1 (patch) | |
tree | e3023b51c0938218e1872e5b3171973650f5325e | |
parent | 0cbd39c05f94b6e7d9d7df78c3319b8096411b45 (diff) |
configure password-less sudo
-rw-r--r-- | scripts/vagrant.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/vagrant.sh b/scripts/vagrant.sh index 7b2d1a0..694486b 100644 --- a/scripts/vagrant.sh +++ b/scripts/vagrant.sh @@ -1,5 +1,7 @@ #!/bin/bash +# see https://docs.vagrantup.com/v2/boxes/base.html + # Vagrant specific date > /etc/vagrant_box_build_time @@ -9,5 +11,9 @@ wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/key chmod 0600 /home/vagrant/.ssh/authorized_keys chown -R vagrant /home/vagrant/.ssh +# configure password-less sudo +echo 'vagrant ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + + # Customize the message of the day echo 'Development Environment' > /etc/motd |