X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Fmininet-ovs-2.5.sh;h=7cbab296ab9cee1c07585a76dd5797c42693b4e1;hb=4e1a100fa7b43f32be3fd526d5bf12e666734817;hp=1702c8fe2cd5b015b1bf03bd748f8843bef43393;hpb=fd24b9a1c5e53ef7c3702b37576f3d834d65d8a1;p=releng%2Fbuilder.git diff --git a/packer/provision/mininet-ovs-2.5.sh b/packer/provision/mininet-ovs-2.5.sh index 1702c8fe2..7cbab296a 100644 --- a/packer/provision/mininet-ovs-2.5.sh +++ b/packer/provision/mininet-ovs-2.5.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -x # vim: sw=4 ts=4 sts=4 et tw=72 : @@ -15,16 +15,21 @@ export DEBIAN_FRONTEND=noninteractive # ups echo 'PS1="[\u@\h \W]> "' >> /etc/skel/.bashrc -# remove all force-yes with --allow* echo '---> Install OpenVSwitch 2.5.0' -apt-get update -y --force-yes -apt-get install -y --force-yes openvswitch-switch openvswitch-vtep +apt-get update -m +apt-get install openvswitch-switch openvswitch-vtep + +# Temporary workaround required to bring up OVS +# post-install without which OVS daemon exits. +service openvswitch-switch restart +# Verify the OVS service status +service openvswitch-switch status echo '---> Installing mininet' -apt-get install -y --force-yes mininet +apt-get install mininet echo '---> Installing build pre-requisites' -apt-get install -y --force-yes build-essential snmp libsnmp-dev snmpd libpcap-dev \ +apt-get install build-essential snmp libsnmp-dev snmpd libpcap-dev \ autoconf make automake libtool libconfig-dev libssl-dev libffi-dev libssl-doc pkg-config git clone https://github.com/intracom-telecom-sdn/mtcbench.git @@ -38,13 +43,10 @@ make cp cbench /usr/local/bin/ echo '---> Installing exabgp' -apt-get install -y --force-yes exabgp - -echo '---> All Python package installation should happen in virtualenv' -apt-get install -y --force-yes python-virtualenv python-pip +apt-get install exabgp # Install vlan for vlan based tests in VTN suites -apt-get install -y --force-yes -qq vlan +apt-get install vlan # Install netaddr package which is needed by some custom mininet topologies -apt-get install -y --force-yes -qq python-netaddr +apt-get install python-netaddr