X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vagrant%2Fubuntu-mininet-ovs-2.3%2Fbootstrap.sh;h=02bc33923eb8c692de50525c158945d8f3cdf697;hb=06b50535fe093231e73b5f198d2e6f35dc02b1f7;hp=6e0fc75819aab66fff8995eb01d32170c0b73ac8;hpb=6a1ed14649f8513159e83c2243ba280491579e5e;p=releng%2Fbuilder.git diff --git a/vagrant/ubuntu-mininet-ovs-2.3/bootstrap.sh b/vagrant/ubuntu-mininet-ovs-2.3/bootstrap.sh index 6e0fc7581..02bc33923 100644 --- a/vagrant/ubuntu-mininet-ovs-2.3/bootstrap.sh +++ b/vagrant/ubuntu-mininet-ovs-2.3/bootstrap.sh @@ -2,10 +2,9 @@ # vim: sw=4 ts=4 sts=4 et tw=72 : -echo "---> Updating operating system" -apt-get update -qq -DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --force-yes -qq \ - -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" +# Ensure that necessary variables are set to enable noninteractive mode in +# commands. +export DEBIAN_FRONTEND=noninteractive # To handle the prompt style that is expected all over the environment # with how use use robotframework we need to make sure that it is @@ -13,12 +12,11 @@ DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --force-yes -qq \ # ups echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc -# Install OpenVSwitch 2.3.1 +echo '---> Install OpenVSwitch 2.3.1' add-apt-repository -y ppa:vshn/openvswitch -apt-get update -qq apt-get install -y --force-yes -qq openvswitch-switch -# Install CPqD +echo '---> Installing CPqD and dependencies' apt-get install -y --force-yes -qq build-essential cmake flex apt-get install -y --force-yes -qq libpcre++-dev libxerces-c-dev libpcap-dev libboost-all-dev @@ -47,15 +45,14 @@ make make install cd .. -# Install mininet 2.2.1 +echo '---> Installing mininet 2.2.1' git clone git://github.com/mininet/mininet cd mininet git checkout -b 2.2.1 2.2.1 cd .. mininet/util/install.sh -nf -# cbench installation for running openflow performance tests - +echo '---> Installing cbench for openflow performance tests' OF_DIR=$HOME/openflow # Directory that contains OpenFlow code OFLOPS_DIR=$HOME/oflops # Directory that contains oflops repo @@ -70,6 +67,5 @@ cd $OFLOPS_DIR make make install -# Installing exabgp +echo '---> Installing exabgp' apt-get install -y --force-yes -qq exabgp -