From 76c1fe63717492fbe84b86c7f5c87b1b042cf446 Mon Sep 17 00:00:00 2001 From: Chen Zhiwei Date: Mon, 27 Apr 2015 11:59:55 +0800 Subject: Change the default shell to bash Unify the shell to bash in all Kolla scripts. Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a Implements: blueprint use-bash-shell --- docker/keystone/check.sh | 2 +- docker/keystone/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docker/keystone') 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 -- cgit v1.2.3