X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=packer%2Fprovision%2Fdevstack.sh;h=149e5efd270df7a0a9031a787ea886d291e8ebb0;hb=3949064fe80e9f63e21ccc589a75f46cf4b0a992;hp=06463517d3d19f6f68ddca0027234e5354062267;hpb=3639617a6eeee54106ab6dc427e425f96b15d9ca;p=releng%2Fbuilder.git diff --git a/packer/provision/devstack.sh b/packer/provision/devstack.sh index 06463517d..149e5efd2 100644 --- a/packer/provision/devstack.sh +++ b/packer/provision/devstack.sh @@ -1,7 +1,18 @@ #!/bin/bash +# force any errors to cause the script and job to end in failure +set -xeu -o pipefail + +# add in a test copr repo +wget http://copr.fedoraproject.org/coprs/tykeal/odl-updates/repo/epel-7/tykeal-odl-updates-epel-7.repo -O /etc/yum.repos.d/tykeal-odl-updates-epel-7.repo +# Install xpath +yum install -y perl-XML-XPath python-pip python-six + +# install crudini command line tool for editing config files +yum install -y crudini + echo '---> Installing non-baseline requirements' -yum install -q -y deltarpm python{,-{crypto,devel,lxml,setuptools}} \ +yum install -y deltarpm python{,-{crypto,devel,lxml,setuptools}} \ @development {lib{xml2,xslt,ffi},openssl}-devel echo '---> Updating net link setup'