summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/vagrant.sh6
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