f593541485
add /check.sh to keystone and glance-api images that can be used to verify proper functionality of the container. Change-Id: I0a878678fb8e9427d8e99af4896cbc679d3490a4
13 lines
143 B
Bash
Executable File
13 lines
143 B
Bash
Executable File
#!/bin/sh
|
|
|
|
RES=0
|
|
|
|
. /openrc
|
|
if ! keystone token-get > /dev/null; then
|
|
echo "ERROR: keystone token-get failed" >&2
|
|
RES=1
|
|
fi
|
|
|
|
exit $RES
|
|
|