Install pypcap package for CentOS 28/5828/1
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Wed, 22 Mar 2017 15:12:07 +0000 (10:12 -0500)
committerVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Wed, 22 Mar 2017 15:12:07 +0000 (10:12 -0500)
The pypcap package required a newer version of pip to install.  This
change upgrades the version of pip and installs the pypcap package which
is required for CSIT jobs.

Change-Id: Iaa23da629396225c27f0ecd3b64615fe105ce9e2
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
packer/provision/basebuild.sh

index e28ea0f..1ffa603 100644 (file)
@@ -18,7 +18,9 @@ rh_systems() {
     echo "---> Installing RH Python dependencies $(date +'%Y%m%dT%H%M%S')"
     RH_PYTHON_PKGS="python-devel python-virtualenv python-setuptools \
       python-pip kernel-devel epel-rpm-macros"
+    pip install --upgrade pip
     yum install -y ${RH_PYTHON_PKGS}
+    pip install pypcap
 
     # RH Install Documentation packages
     ###Removed python-pyparsing