Change the default shell to bash

Unify the shell to bash in all Kolla scripts.

Change-Id: Ib9591b2f8f344eb88455c5e9b7ecf2164fb5960a
Implements: blueprint use-bash-shell
This commit is contained in:
Chen Zhiwei 2015-04-27 11:59:55 +08:00
parent 8781dc570b
commit 76c1fe6371
48 changed files with 48 additions and 48 deletions
devenv
docker
ceilometer
ceilometer-alarm
ceilometer-api
ceilometer-base
ceilometer-central
ceilometer-collector
ceilometer-compute
ceilometer-notification
glance
glance-api
glance-base
glance-registry
heat
heat-api
heat-base
heat-engine
keystone
mariadb-app
mariadb-data
neutron
nova-base
nova-compute
nova-controller
nova-api
nova-conductor
nova-scheduler
rabbitmq
swift
swift-account
swift-container
swift-object
swift-proxy-server
zaqar
tools

@ -148,7 +148,7 @@ resources:
user_data:
str_replace:
template: |
#!/bin/sh
#!/bin/bash
# Latest packages
yum clean all

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-ceilometer.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-ceilometer.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-heat.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -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

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh

@ -5,4 +5,4 @@ VOLUME [ "/var/lib/mysql" ]
# Command needed to start the data container.
# Note: data containers do not need to be persistent.
CMD ["/bin/sh"]
CMD ["/bin/bash"]

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -93,6 +93,6 @@ if [[ ${MECHANISM_DRIVERS} =~ linuxbridge ]]; then
"${NEUTRON_FLAT_NETWORK_NAME}:${NEUTRON_FLAT_NETWORK_INTERFACE}"
fi
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron
su -s /bin/bash -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade juno" neutron
exec /usr/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-nova.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
if [[ $(cat /proc/cpuinfo | grep vmx) ]]; then
modprobe kvm_intel

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
. /opt/kolla/config-nova.sh

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
: ${SWIFT_DB_USER:=swift}
: ${SWIFT_DB_NAME:=swift}

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
: ${SWIFT_DB_USER:=swift}
: ${SWIFT_DB_NAME:=swift}

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
: ${SWIFT_DB_USER:=swift}
: ${SWIFT_DB_NAME:=swift}

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
sh /opt/swift/config-swift.sh proxy

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
TOPLEVEL=$(git rev-parse --show-toplevel)
RES=0

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
MAINTAINER='MAINTAINER Kolla Project (https://launchpad.net/kolla)'
RES=0