From 07ae3145dba2e373815ed846fea732f71cbe24c1 Mon Sep 17 00:00:00 2001 From: varac Date: Mon, 18 Jan 2016 00:44:22 +0100 Subject: configure password-less sudo --- scripts/vagrant.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3