From b2eacd6306cd865d0d250a47d9751bf417018b83 Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Tue, 17 Jan 2017 09:58:05 +0000 Subject: [PATCH] Fix designate dockerfile remove avoid /var/log/designate Change-Id: I9a1359106f7c9ba38b9603c7ed70373dbb08483b --- docker/designate/designate-base/Dockerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/designate/designate-base/Dockerfile.j2 b/docker/designate/designate-base/Dockerfile.j2 index 6e6c2d589b..91b7122d5c 100644 --- a/docker/designate/designate-base/Dockerfile.j2 +++ b/docker/designate/designate-base/Dockerfile.j2 @@ -42,10 +42,10 @@ RUN cp /etc/designate/policy.json /tmp/ \ ADD designate-base-archive /designate-base-source RUN ln -s designate-base-source/* designate \ && /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /designate \ - && mkdir -p /etc/designate /var/log/designate \ + && mkdir -p /etc/designate \ && cp -r /designate/etc/designate/* /etc/designate/ \ && mv /etc/designate/rootwrap.conf.sample /etc/designate/rootwrap.conf \ - && chown -R designate: /etc/designate /var/log/designate \ + && chown -R designate: /etc/designate \ && sed -i 's|^exec_dirs.*|exec_dirs=/var/lib/kolla/venv/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin|g' /etc/designate/rootwrap.conf {% endif %}