File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
12
12
13
13
{{ macros.kolla_patch_sources() }}
14
14
15
+ COPY extend_start.sh /usr/local/bin/kolla_extend_start
16
+ RUN chmod 644 /usr/local/bin/kolla_extend_start
17
+
15
18
{% block dnsmasq_footer %}{% endblock %}
16
19
{% block footer %}{% endblock %}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ if [[ ! -d " /var/log/kolla/ironic" ]]; then
4
+ mkdir -p /var/log/kolla/ironic
5
+ fi
6
+ if [[ $( stat -c %a /var/log/kolla/ironic) != " 755" ]]; then
7
+ chmod 755 /var/log/kolla/ironic
8
+ fi
9
+ if [[ ! -r " /var/log/kolla/ironic/dnsmasq.log" ]]; then
10
+ touch /var/log/kolla/ironic/dnsmasq.log
11
+ chown ironic:ironic /var/log/kolla/ironic/dnsmasq.log
12
+ fi
You can’t perform that action at this time.
0 commit comments