Browse Source

Change source with dot at extend_start files

Is a best practice in Unix/Linux scripts to use dots
instead of source command.
Using dots will avoid issues with non BASH shells

TrivialFix
Change-Id: Ie6480a1954f853f79faffa093452715ebd9f7d90
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
changes/26/359926/2
Eduardo Gonzalez 5 years ago
parent
commit
8e98e5f15e
  1. 2
      docker/base/start.sh
  2. 2
      docker/ceilometer/ceilometer-base/extend_start.sh
  3. 2
      docker/cinder/cinder-base/extend_start.sh
  4. 2
      docker/designate/designate-base/extend_start.sh
  5. 2
      docker/glance/glance-base/extend_start.sh
  6. 2
      docker/heat/heat-base/extend_start.sh
  7. 2
      docker/horizon/extend_start.sh
  8. 2
      docker/keystone/keystone/extend_start.sh
  9. 2
      docker/magnum/magnum-base/extend_start.sh
  10. 2
      docker/manila/manila-base/extend_start.sh
  11. 2
      docker/mistral/mistral-base/extend_start.sh
  12. 2
      docker/murano/murano-base/extend_start.sh
  13. 2
      docker/neutron/neutron-base/extend_start.sh
  14. 2
      docker/nova/nova-base/extend_start.sh
  15. 2
      docker/openvswitch/openvswitch-base/extend_start.sh
  16. 2
      docker/sahara/sahara-base/extend_start.sh
  17. 2
      docker/senlin/senlin-base/extend_start.sh
  18. 2
      docker/watcher/watcher-base/extend_start.sh

2
docker/base/start.sh

@ -17,7 +17,7 @@ ARGS=""
if [[ ! "${!KOLLA_SKIP_EXTEND_START[@]}" ]]; then
# Run additional commands if present
source kolla_extend_start
. kolla_extend_start
fi
echo "Running command: '${CMD}${ARGS:+ $ARGS}'"

2
docker/ceilometer/ceilometer-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/ceilometer) != "755" ]]; then
chmod 755 /var/log/kolla/ceilometer
fi
source /usr/local/bin/kolla_ceilometer_extend_start
. /usr/local/bin/kolla_ceilometer_extend_start

2
docker/cinder/cinder-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/cinder) != "755" ]]; then
chmod 755 /var/log/kolla/cinder
fi
source /usr/local/bin/kolla_cinder_extend_start
. /usr/local/bin/kolla_cinder_extend_start

2
docker/designate/designate-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/designate) != "755" ]]; then
chmod 755 /var/log/kolla/designate
fi
source /usr/local/bin/kolla_designate_extend_start
. /usr/local/bin/kolla_designate_extend_start

2
docker/glance/glance-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/glance) != "755" ]]; then
chmod 755 /var/log/kolla/glance
fi
source /usr/local/bin/kolla_glance_extend_start
. /usr/local/bin/kolla_glance_extend_start

2
docker/heat/heat-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/heat) != "755" ]]; then
chmod 755 /var/log/kolla/heat
fi
source /usr/local/bin/kolla_heat_extend_start
. /usr/local/bin/kolla_heat_extend_start

2
docker/horizon/extend_start.sh

@ -4,7 +4,7 @@
# results in the container not being able to restart. (bug #1489676, 1557036)
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars
. /etc/apache2/envvars
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

2
docker/keystone/keystone/extend_start.sh

@ -15,7 +15,7 @@ function kolla_kubernetes {
# results in the container not being able to restart. (bug #1489676, 1557036)
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars
. /etc/apache2/envvars
rm -rf /var/run/apache2/*
APACHE_DIR="apache2"
else

2
docker/magnum/magnum-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/magnum) != "755" ]]; then
chmod 755 /var/log/kolla/magnum
fi
source /usr/local/bin/kolla_magnum_extend_start
. /usr/local/bin/kolla_magnum_extend_start

2
docker/manila/manila-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/manila) != "755" ]]; then
chmod 755 /var/log/kolla/manila
fi
source /usr/local/bin/kolla_manila_extend_start
. /usr/local/bin/kolla_manila_extend_start

2
docker/mistral/mistral-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/mistral) != "755" ]]; then
chmod 755 /var/log/kolla/mistral
fi
source /usr/local/bin/kolla_mistral_extend_start
. /usr/local/bin/kolla_mistral_extend_start

2
docker/murano/murano-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/murano) != "755" ]]; then
chmod 755 /var/log/kolla/murano
fi
source /usr/local/bin/kolla_murano_extend_start
. /usr/local/bin/kolla_murano_extend_start

2
docker/neutron/neutron-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/neutron) != "755" ]]; then
chmod 755 /var/log/kolla/neutron
fi
source /usr/local/bin/kolla_neutron_extend_start
. /usr/local/bin/kolla_neutron_extend_start

2
docker/nova/nova-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/nova) != "755" ]]; then
chmod 755 /var/log/kolla/nova
fi
source /usr/local/bin/kolla_nova_extend_start
. /usr/local/bin/kolla_nova_extend_start

2
docker/openvswitch/openvswitch-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/openvswitch) != "755" ]]; then
chmod 755 /var/log/kolla/openvswitch
fi
source /usr/local/bin/kolla_openvswitch_extend_start
. /usr/local/bin/kolla_openvswitch_extend_start

2
docker/sahara/sahara-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/sahara) != "755" ]]; then
chmod 755 /var/log/kolla/sahara
fi
source /usr/local/bin/kolla_sahara_extend_start
. /usr/local/bin/kolla_sahara_extend_start

2
docker/senlin/senlin-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/senlin) != "755" ]]; then
chmod 755 /var/log/kolla/senlin
fi
source /usr/local/bin/kolla_senlin_extend_start
. /usr/local/bin/kolla_senlin_extend_start

2
docker/watcher/watcher-base/extend_start.sh

@ -7,4 +7,4 @@ if [[ $(stat -c %a /var/log/kolla/watcher) != "755" ]]; then
chmod 755 /var/log/kolla/watcher
fi
source /usr/local/bin/kolla_watcher_extend_start
. /usr/local/bin/kolla_watcher_extend_start

Loading…
Cancel
Save