
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
17 lines
262 B
Bash
Executable File
17 lines
262 B
Bash
Executable File
#!/bin/bash
|
|
|
|
RES=0
|
|
|
|
. /openrc
|
|
if ! keystone token-get > /dev/null; then
|
|
echo "ERROR: keystone token-get failed" >&2
|
|
RES=1
|
|
else
|
|
if ! heat stack-list > /dev/null; then
|
|
echo "ERROR: heat stack-list failed" >&2
|
|
RES=1
|
|
fi
|
|
fi
|
|
|
|
exit $RES
|