summaryrefslogtreecommitdiff
path: root/scripts/vagrant.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vagrant.sh')
-rw-r--r--scripts/vagrant.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/vagrant.sh b/scripts/vagrant.sh
new file mode 100644
index 0000000..7b2d1a0
--- /dev/null
+++ b/scripts/vagrant.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+# Vagrant specific
+date > /etc/vagrant_box_build_time
+
+# Installing vagrant keys
+mkdir -pm 700 /home/vagrant/.ssh
+wget --no-check-certificate 'https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub' -O /home/vagrant/.ssh/authorized_keys
+chmod 0600 /home/vagrant/.ssh/authorized_keys
+chown -R vagrant /home/vagrant/.ssh
+
+# Customize the message of the day
+echo 'Development Environment' > /etc/motd