diff --git a/docker/neutron/neutron-base/Dockerfile.j2 b/docker/neutron/neutron-base/Dockerfile.j2 index 81a43b6fa7..e59c985cee 100644 --- a/docker/neutron/neutron-base/Dockerfile.j2 +++ b/docker/neutron/neutron-base/Dockerfile.j2 @@ -57,7 +57,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'haproxy', 'iproute-tc', 'ipset', - 'iptables', 'iputils', 'keepalived', 'net-tools', @@ -67,6 +66,16 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'uuid' ] %} + {% if base_distro == "centos" and base_distro_tag.startswith('stream8') %} + {% set neutron_base_packages = neutron_base_packages + [ + 'iptables-1.8.4*' + ] %} + {% else %} + {% set neutron_base_packages = neutron_base_packages + [ + 'iptables' + ] %} + {% endif %} + {% elif base_package_type == 'deb' %} {% set neutron_base_packages = [