2015-04-13 20:36:16 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2016-10-29 15:17:22 +02:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get --yes --force-yes upgrade
|
2015-04-13 20:36:16 +02:00
|
|
|
|
|
|
|
# get ourselves some basic toys
|
2016-10-29 15:17:22 +02:00
|
|
|
sudo apt-get --yes --force-yes install git-core build-essential openssl libssl-dev
|
2015-04-13 20:36:16 +02:00
|
|
|
|
|
|
|
# install some tools for the vagrant user only by executing
|
|
|
|
# a script AS the vagrant user
|
|
|
|
cp /vagrant/install-tools.sh /home/vagrant
|
|
|
|
chown vagrant /home/vagrant/install-tools.sh
|
|
|
|
chgrp vagrant /home/vagrant/install-tools.sh
|
|
|
|
chmod ug+x /home/vagrant/install-tools.sh
|
|
|
|
su -c "/home/vagrant/install-tools.sh" vagrant
|
|
|
|
|