Skip to content

Commit

Permalink
Merge pull request #373 from stackhpc/upstream/2024.1-2025-01-13
Browse files Browse the repository at this point in the history
Synchronise 2024.1 with upstream
  • Loading branch information
priteau authored Jan 13, 2025
2 parents 0183dba + 5e94215 commit ed6cb1a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/neutron/neutron-dhcp-agent/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{{ macros.install_packages(neutron_dhcp_agent_packages | customizable("packages")) }}

COPY extend_start.sh /usr/local/bin/kolla_extend_start

{% block neutron_dhcp_agent_footer %}{% endblock %}
{% block footer %}{% endblock %}

Expand Down
9 changes: 9 additions & 0 deletions docker/neutron/neutron-dhcp-agent/extend_start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if [[ ! -d "/var/log/kolla/neutron" ]]; then
mkdir -p /var/log/kolla/neutron
fi
if [[ ! -f "/var/log/kolla/neutron/dnsmasq.log" ]]; then
touch /var/log/kolla/neutron/dnsmasq.log
chown neutron:kolla /var/log/kolla/neutron/dnsmasq.log
fi

. /usr/local/bin/kolla_neutron_extend_start

0 comments on commit ed6cb1a

Please sign in to comment.