-
Notifications
You must be signed in to change notification settings - Fork 19
/
provision.sh
executable file
·34 lines (28 loc) · 1.05 KB
/
provision.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/bash
apt-get -y -qq --force-yes update
#apt-get -y -qq --force-yes install build-essential checkinstall
#if !which cmake; then
# wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
# tar xf cmake-3.2.2.tar.gz
# cd cmake-3.2.2
# ./configure
# make
# checkinstall -y
# cd ..
#fi
#apt-get -y -qq --force-yes update
apt-get -y -qq --force-yes install git bash vim-nox tcpdump nano\
bird6 quagga inotify-tools\
iperf
# dependencies for puppet
# apt-get -y -qq --force-yes install ruby ruby-dev libboost-all-dev gettext curl libcurl4-openssl-dev libyaml-cpp-dev
apt-get -y -qq --force-yes install puppet # TODO Get more recent version of puppet
#gem install puppet -f
update-rc.d quagga disable &> /dev/null || true
update-rc.d bird disable &> /dev/null || true
update-rc.d bird6 disable &> /dev/null || true
service quagga stop
service bird stop
service bird6 stop
(cd /sbin && ln -s /usr/lib/quagga/* .)
su vagrant -c 'cd && git clone https://github.com/UCL-INGI/lingi2142.git'