diff options
| author | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-03-29 14:20:13 +0200 |
|---|---|---|
| committer | Bertrand Lallau <bertrand.lallau@thalesgroup.com> | 2017-04-06 12:28:25 +0200 |
| commit | 76bc0f69cc801a5e5796f1a8a70c13d6355bd6c8 (patch) | |
| tree | 65f3664fff14ce6fd56a059468215dd6b16bce95 /docker/macros.j2 | |
| parent | 3bd8fe8e101eceaeb366e8cd2cb4ae20ac3cb5b7 (diff) | |
| download | kolla-76bc0f69cc801a5e5796f1a8a70c13d6355bd6c8.tar.gz kolla-76bc0f69cc801a5e5796f1a8a70c13d6355bd6c8.zip | |
Remove Ubuntu Trove postinst script hack
trove-common version 1:7.0.0-0ubuntu1~cloud0 coming from the following repo
https://github.com/openstack/kolla/blob/master/docker/base/sources.list.ubuntu#L11
has been fixed.
Temporary hack must be removed.
Change-Id: I19ce6f0a5d5f0fe0d390fcb05f775f860abd146c
Diffstat (limited to 'docker/macros.j2')
| -rw-r--r-- | docker/macros.j2 | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docker/macros.j2 b/docker/macros.j2 index 24083bcc0..e40206071 100644 --- a/docker/macros.j2 +++ b/docker/macros.j2 @@ -41,17 +41,6 @@ RUN usermod --append --home {{ homedir }} --groups kolla {{ name }} \ && chown -R {{ user.uid }}:{{ user.gid }} {{ homedir }} {% endmacro %} - -{% macro ubuntu_trove_bug_1651852() %} -{# NOTE(SamYaple): The postinst script breaks because it calls getenv instead of getent #} -{# TODO(SamYaple): Remove once issue is fixed -- https://bugs.launchpad.net/ubuntu/+source/openstack-trove/+bug/1651852 #} -RUN apt-get -y install --no-install-recommends trove-common \ - || sed -i 's/getenv/getent/g' /var/lib/dpkg/info/trove-common.postinst \ - && apt-get -y install -f \ - && apt-get clean -{% endmacro %} - - {% macro debian_haproxy_existing_user_fix() %} {# NOTE(SamYaple): The postinst script breaks if the user 'haproxy' already exists #} RUN apt-get -y install --no-install-recommends haproxy \ |
