Fix designate dockerfile
remove avoid /var/log/designate Change-Id: I9a1359106f7c9ba38b9603c7ed70373dbb08483b
This commit is contained in:
parent
be9a8789a6
commit
b2eacd6306
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user