aboutsummaryrefslogtreecommitdiff
path: root/docker/macros.j2
diff options
context:
space:
mode:
Diffstat (limited to 'docker/macros.j2')
-rw-r--r--docker/macros.j210
1 files changed, 0 insertions, 10 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2
index f52ff2235..8c698d278 100644
--- a/docker/macros.j2
+++ b/docker/macros.j2
@@ -97,13 +97,3 @@ RUN usermod --append --home {{ homedir }} --groups kolla {{ name }} \
{{ enable_repos(repos) }}
{% endmacro %}
-
-# NOTE(hrw): ending \ has to be at the end as we generate one line and there
-# can be multiple plugins to remove
-{% macro remove_py3_only_plugins_for_py2(plugins_to_remove) -%}
- {% if distro_python_version == '2.7' -%}
- {% for plugin in plugins_to_remove %}&& rm -rf /plugins/{{ plugin }}* {% endfor %} \
- {%- else -%}
- \
- {%- endif %}
-{%- endmacro %}