Make packer templates fail on any problems

Make packer templates fail on any problems and to not be quiet in their
builds.

Change-Id: Ieb1ef5f6f2bff711597bd7464a2676520e5fc0d8
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 4ae4b41..69c504c 100644
--- a/packer/provision/docker.sh
+++ b/packer/provision/docker.sh
@@ -2,11 +2,14 @@
 
 # vim: ts=4 sw=4 sts=4 et tw=72 :
 
+# force any errors to cause the script and job to end in failure
+set -xeu -o pipefile
+
 rh_systems() {
     # Assumes that python is already installed by basebuild
 
     # Install dependencies for robotframework and robotframework-sshlibrary
-    yum install -y -q yum-utils unzip sshuttle nc libffi-devel openssl-devel
+    yum install -y yum-utils unzip sshuttle nc libffi-devel openssl-devel
 
     # Install docker
     yum install -y docker supervisor bridge-utils