X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vagrant%2Fubuntu-mininet%2Fbootstrap.sh;h=2bafedfacc4182f78d4e2308cfcf574034af0b41;hb=3c4c9a40b25fc53c873d516d925bd2b5ccd345e8;hp=324c56d29198e8301c24e83f7e7e56f0ae11eedc;hpb=fc3dcf2d0f06d118c5c4aff923ae36eb122ca168;p=releng%2Fbuilder.git diff --git a/vagrant/ubuntu-mininet/bootstrap.sh b/vagrant/ubuntu-mininet/bootstrap.sh index 324c56d29..2bafedfac 100644 --- a/vagrant/ubuntu-mininet/bootstrap.sh +++ b/vagrant/ubuntu-mininet/bootstrap.sh @@ -2,9 +2,9 @@ # vim: sw=4 ts=4 sts=4 et tw=72 : -echo "---> Updating operating system" -apt-get update -qq -apt-get upgrade -y --force-yes -qq +# 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 @@ -12,10 +12,7 @@ apt-get upgrade -y --force-yes -qq # ups echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc -# Install mininet -# apt-get install -y --force-yes -qq mininet - -# Install mininet with OF13 patch +echo '---> Install mininet with OF13 patch' cd /tmp cat > newOptions.patch < Install 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 @@ -80,8 +77,7 @@ make make install cd .. -# cbench installation for running openflow performance tests - +echo '---> Installing cbench installation for running openflow performance tests' OF_DIR=$HOME/openflow # Directory that contains OpenFlow code OFLOPS_DIR=$HOME/oflops # Directory that contains oflops repo @@ -94,4 +90,7 @@ cd $OFLOPS_DIR ./boot.sh ./configure --with-openflow-src-dir=$OF_DIR make -make install \ No newline at end of file +make install + +echo '---> Installing vlan for vlan based tests in VTN suites' +apt-get install -y --force-yes -qq vlan