3 # vim: sw=4 ts=4 sts=4 et tw=72 :
5 echo "---> Updating operating system"
7 apt-get upgrade -y --force-yes -qq
9 echo "---> Installing Group Based Policy requirements"
10 apt-get install -y software-properties-common -qq
11 apt-get install -y python-software-properties -qq
12 apt-get install -y python-pip -qq
13 apt-get install -y python-virtualenv -qq
14 apt-get install -y git-core git -qq
15 apt-get install -y curl -qq
16 apt-get install -y bridge-utils -qq
19 curl -sSL https://get.docker.com/ | sh
21 # configure docker networking so that it does not conflict with LF internal networks
22 # configure docker daemon to listen on port 5555 enabling remote managment
23 cat <<EOL > /etc/default/docker
25 DOCKER_OPTS='-H unix:///var/run/docker.sock -H tcp://0.0.0.0:5555 --bip=10.250.0.254/24'
27 ip link set dev docker0 down
32 curl https://raw.githubusercontent.com/pritesh/ovs/nsh-v8/third-party/start-ovs-deb.sh | bash