setup: Add xtrace and pipefail to set options
pipefail for more safety and xtrace for better debuggability. The missing xtrace here is likely what led to the docker-compose issue going unfixed for so long as the last bit of output was from the gencerts container and did not make any sense (because it wasn't the issue :D ). Signed-off-by: Manuel Mendez <mmendez@equinix.com>
This commit is contained in:
parent
5eceec91ed
commit
51777df36c
2
setup.sh
2
setup.sh
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# stops the execution if a command or pipeline has an error
|
# stops the execution if a command or pipeline has an error
|
||||||
set -eu
|
set -euxo pipefail
|
||||||
|
|
||||||
# Tinkerbell stack Linux setup script
|
# Tinkerbell stack Linux setup script
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user