Fix failure of UI validation in some shells

The Bourne shell, dash shell and other truly POSIX compliant shells
have no mechanism for `set -o pipefail`, thus causing a failure and
termination of deployment steps when being run from those systems.

In particular, Debian and Ubuntu systems see these failures.

This patch explicitly specifies the bash shell, meaning Debian and
Ubuntu systems will not trip up in running this script.

Change-Id: Id52fbbca51a2491346ff979433387c7e695bbb43
Closes-Bug: 1739428
This commit is contained in:
David J Peacock 2017-12-20 15:03:37 -05:00
parent fd4cf7837c
commit d0ad1ec469
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
#
# simple script to check if the TripleO-UI is available via the ssh-tunnel
# on libvirt