rootwrap filters is removed in networking-sfc

patch I2277cb4c3165d19255d275a79533f456aea30f07 removed the duplicated
filters in networking-sfc

Change-Id: Ia64d44455fbf14b22597cc29fb6b3798e3855189
This commit is contained in:
Jeffrey Zhang
2017-01-27 23:11:48 +08:00
parent d3eb84c56d
commit 0612a5a98c

View File

@@ -12,9 +12,7 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
ADD neutron-sfc-agent-archive /neutron-sfc-agent-source
RUN ln -s neutron-sfc-agent-source/* neutron-sfc-agent \
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /neutron-sfc-agent \
&& cp /neutron-sfc-agent/etc/neutron/rootwrap.d/* /etc/neutron/rootwrap.d \
&& 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/neutron/rootwrap.conf
&& /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt /neutron-sfc-agent
{% endif %}