diff --git a/rundnsmasq.sh b/rundnsmasq.sh index ff3b085a6..6b8d20bdd 100755 --- a/rundnsmasq.sh +++ b/rundnsmasq.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +set -e + PROVISIONING_INTERFACE=${PROVISIONING_INTERFACE:-"provisioning"} HTTP_PORT=${HTTP_PORT:-"80"} diff --git a/runhttpd.sh b/runhttpd.sh index 6606d7518..967122311 100755 --- a/runhttpd.sh +++ b/runhttpd.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +set -e + PROVISIONING_INTERFACE=${PROVISIONING_INTERFACE:-"provisioning"} HTTP_PORT=${HTTP_PORT:-"80"} HTTP_IP=$(ip -4 address show dev "$PROVISIONING_INTERFACE" | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | head -n 1) diff --git a/runironic-api.sh b/runironic-api.sh index 790a4298e..88bb950f6 100755 --- a/runironic-api.sh +++ b/runironic-api.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +set -e + . /bin/configure-ironic.sh # Allow access to Ironic diff --git a/runironic-conductor.sh b/runironic-conductor.sh index ad97a2a3a..d3b992fc1 100755 --- a/runironic-conductor.sh +++ b/runironic-conductor.sh @@ -1,5 +1,7 @@ #!/usr/bin/bash +set -e + . /bin/configure-ironic.sh # Allow access to mDNS diff --git a/runmariadb.sh b/runmariadb.sh index 07a96b010..0c8b4e86d 100755 --- a/runmariadb.sh +++ b/runmariadb.sh @@ -1,4 +1,7 @@ #!/usr/bin/bash + +set -e + PATH=$PATH:/usr/sbin/ DATADIR="/var/lib/mysql" MARIADB_PASSWORD=${MARIADB_PASSWORD:-"change_me"}