Merge "Change source with dot at extend_start files"
This commit is contained in:
commit
90c052dea0
@ -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}'"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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…
Reference in New Issue
Block a user