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 @@ -10,5 +10,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
10
10
{% set dnsmasq_packages = ['dnsmasq' ] %}
11
11
{{ macros.install_packages(dnsmasq_packages| customizable("packages")) }}
12
12
13
+ COPY extend_start.sh /usr/local/bin/kolla_extend_start
14
+ RUN chmod 644 /usr/local/bin/kolla_extend_start
15
+
13
16
{% block dnsmasq_footer %}{% endblock %}
14
17
{% 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