aboutsummaryrefslogtreecommitdiff
path: root/docker/keepalived
diff options
context:
space:
mode:
authorTim Shearer <tshearer@advaoptical.com>2022-04-01 16:22:28 -0400
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2022-04-11 17:22:24 +0200
commit1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae (patch)
treeaff66bacc9d1dc51d4db006646152329e6777b83 /docker/keepalived
parent19765c629734fe699871301be23fb308c14b2639 (diff)
downloadkolla-1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae.tar.gz
kolla-1d96a2bbe1b536b7d7f4cdbf55c6dabae6d058ae.zip
Adjust permissions on _extend_start files.
Explicitly set the permissions on the kolla-toolbox kolla_extend_start file. Also, since all extend_start files are sourced rather than executed, the executable bits are now cleared throughout the project. Change-Id: I5c2deb4a2e33575d57c852089f856a9acc6818d0
Diffstat (limited to 'docker/keepalived')
-rw-r--r--docker/keepalived/Dockerfile.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/keepalived/Dockerfile.j2 b/docker/keepalived/Dockerfile.j2
index c2db99fe2..18a7de835 100644
--- a/docker/keepalived/Dockerfile.j2
+++ b/docker/keepalived/Dockerfile.j2
@@ -22,7 +22,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
COPY check_alive.sh /
COPY extend_start.sh /usr/local/bin/kolla_extend_start
-RUN chmod 755 /usr/local/bin/kolla_extend_start /check_alive.sh
+RUN chmod 644 /usr/local/bin/kolla_extend_start \
+ && chmod 755 /check_alive.sh
{% block keepalived_footer %}{% endblock %}
{% block footer %}{% endblock %}