f6ba2aeaf4
Using set -e in all of our scripts will prevent some subtle bugs from slipping in, and will allow us to enforce use of set -e with tooling. This change also adds -u and set -o pipefail in the less complex scripts where it is unlikely to cause problems. A follow-up change will enable those options in the complex scripts so that if it breaks something it can be reverted easily. Change-Id: I0ad358ccb98da7277a0ee2e9ce8fda98438675eb
15 lines
629 B
Bash
Executable File
15 lines
629 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# FIXME: To avoid conflict between the pyOpenSSL installed via python-pip
|
|
# and pyOpenSSL installed via yum, we are going to sort it out installing
|
|
# it earlier at the beginning of the image building process. Pyhton-pip
|
|
# is installing pyOpenSSL as part of satisfying the requirements.txt
|
|
# in python-glanceclient and afterwards yum tries to install it as a
|
|
# dependency of the python-paste package needed for the heat element,
|
|
# this seems to be conflicting and causing the image building process to
|
|
# fail. The problem is hapenning on a Fedora 18 system.
|
|
install-packages python-pyopenssl
|