3 # vim: sw=4 ts=4 sts=4 et tw=72 :
5 echo "---> Updating operating system"
8 echo "---> Installing Group Based Policy requirements"
9 apt install -y software-properties-common -qq
10 apt install -y python-software-properties -qq
11 apt install -y python-pip -qq
12 apt install -y git-core git -qq
13 apt install -y curl -qq
15 curl -sSL https://get.docker.com/ | sh
17 cat <<EOL > /etc/default/docker
18 DOCKER_NETWORK_OPTIONS='--bip=10.250.0.254/24'
21 docker pull alagalah/odlpoc_ovs230
23 curl https://raw.githubusercontent.com/pritesh/ovs/nsh-v8/third-party/start-ovs-deb.sh | bash
25 # this part is just for local spinup DON'T copy it to releng bootstrap.sh
27 echo "export PATH=$PATH:/vagrant" >> /home/vagrant/.profile
28 echo "export ODL="$1 >> /home/vagrant/.profile
29 usermod -aG docker vagrant