Merge "Increase test coverage"
[releng/builder.git] / packer / provision / devstack.sh
index 4671599253042c0a50aa0dba12137c5c3c15c71a..a420da9dcbbb2c7608027984a5c9b4101baf631c 100644 (file)
@@ -1,9 +1,10 @@
 #!/bin/bash
 
-# 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
+# force any errors to cause the script and job to end in failure
+set -xeu -o pipefail
+
 # Install xpath
-yum install -y perl-XML-XPath python-pip python-six
+yum install -y perl-XML-XPath python-pip
 
 # install crudini command line tool for editing config files
 yum install -y crudini