aboutsummaryrefslogtreecommitdiff
path: root/docker/keystone
diff options
context:
space:
mode:
authorChen Zhiwei <zhiwchen@cn.ibm.com>2015-04-27 11:59:55 +0800
committerChen Zhiwei <zhiwchen@cn.ibm.com>2015-04-27 13:26:37 +0800
commit76c1fe63717492fbe84b86c7f5c87b1b042cf446 (patch)
tree6463500a8da572ac13e7cf775091abf1161223df /docker/keystone
parent8781dc570b81c19bb570331dc9fc6ac482e7df0f (diff)
downloadkolla-76c1fe63717492fbe84b86c7f5c87b1b042cf446.tar.gz
kolla-76c1fe63717492fbe84b86c7f5c87b1b042cf446.zip
Change the default shell to bash
Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell
Diffstat (limited to 'docker/keystone')
-rwxr-xr-xdocker/keystone/check.sh2
-rwxr-xr-xdocker/keystone/start.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/keystone/check.sh b/docker/keystone/check.sh
index f96793861..ca4844784 100755
--- a/docker/keystone/check.sh
+++ b/docker/keystone/check.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
RES=0
diff --git a/docker/keystone/start.sh b/docker/keystone/start.sh
index cb76496f9..408f250e0 100755
--- a/docker/keystone/start.sh
+++ b/docker/keystone/start.sh
@@ -124,7 +124,7 @@ chmod -R o-rwx /etc/keystone/ssl
# Initialize the Keystone DB
echo "Initializing Keystone DB"
if [ "${INIT_DB}" == "true" ] ; then
- su -s /bin/sh -c "keystone-manage db_sync" keystone
+ su -s /bin/bash -c "keystone-manage db_sync" keystone
fi
# Start Keystone