summaryrefslogtreecommitdiff
path: root/scripts/vagrant.sh
blob: 7b2d1a0e9f471522426aceb998bade8237e58dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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