diff options
author | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-07 10:48:06 -0800 |
---|---|---|
committer | Andrew Grimberg <agrimberg@linuxfoundation.org> | 2017-02-07 10:48:06 -0800 |
commit | 8ffb213159a20c622b5dfaad1362921980095ed3 (patch) | |
tree | 9b7e437fff300913b317f8d298ade210a84bd01f /packer/provision/basebuild.sh | |
parent | ae4643e1e8195f30c783d287ec66a9b2e8d05f39 (diff) |
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>
Diffstat (limited to 'packer/provision/basebuild.sh')
-rw-r--r-- | packer/provision/basebuild.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh index 68ba71cc6..5801ed6f5 100644 --- a/packer/provision/basebuild.sh +++ b/packer/provision/basebuild.sh @@ -2,6 +2,9 @@ # 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() { # Install python dependencies yum install -y python-{devel,virtualenv,setuptools,pip} |