aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/neutron/neutron-vpnaas-agent/Dockerfile.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2 b/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2
index 1ea7fd9ba..f60c096a2 100644
--- a/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2
+++ b/docker/neutron/neutron-vpnaas-agent/Dockerfile.j2
@@ -48,4 +48,9 @@ RUN chmod 755 /usr/local/bin/kolla_neutron_extend_start
{% block footer %}{% endblock %}
{{ include_footer }}
+# TODO(pbourke): The libreswan driver required by redhat derived bases
+# currently requires root in Neutron. Remove this if condition once
+# https://bugs.launchpad.net/neutron/+bug/1644517 is addressed.
+{% if base_distro in ['ubuntu', 'debian'] %}
USER neutron
+{% endif %}