From 3935e8eda2952cc4febcb3c8bb8a9b03e5d12106 Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Wed, 18 Apr 2018 20:54:20 +0800 Subject: [PATCH] Add a package for freezer freezer need the trickle package to limit the traffic speed refer to https://github.com/openstack/freezer/blob/ebc4e8a57c6b0f8670f075d646c2665d855ee10d/freezer/common/config.py#L692 Change-Id: I5d1c26a40ed15a1a41db057b4d68ebc51b967b97 --- docker/freezer/freezer-base/Dockerfile.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/freezer/freezer-base/Dockerfile.j2 b/docker/freezer/freezer-base/Dockerfile.j2 index bd6fc85257..9b27fbdf12 100644 --- a/docker/freezer/freezer-base/Dockerfile.j2 +++ b/docker/freezer/freezer-base/Dockerfile.j2 @@ -13,6 +13,10 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ && /bin/false {% elif install_type == 'source' %} + {% set freezer_base_packages = [ + 'trickle' + ] %} +{{ macros.install_packages(freezer_base_packages | customizable("packages")) }} ADD freezer-base-archive /freezer-base-source