From 6854ecbd5cdf7b3fc5138af9cc7acd80bfc03af2 Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Thu, 19 Jan 2017 03:18:21 +0000 Subject: [PATCH] Fix designate dockerfile * remove /var/log/designate * remove usermod -a -G kolla designate, it create by macros.j2 Change-Id: I8bae9627604cf57edfa68221cd960085e7bb5312 --- docker/designate/designate-base/Dockerfile.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/designate/designate-base/Dockerfile.j2 b/docker/designate/designate-base/Dockerfile.j2 index 91b7122d5c..6976ed15c9 100644 --- a/docker/designate/designate-base/Dockerfile.j2 +++ b/docker/designate/designate-base/Dockerfile.j2 @@ -52,8 +52,7 @@ RUN ln -s designate-base-source/* designate \ COPY designate_sudoers /etc/sudoers.d/kolla_designate_sudoers COPY extend_start.sh /usr/local/bin/kolla_extend_start -RUN usermod -a -G kolla designate \ - && chmod 750 /etc/sudoers.d \ +RUN chmod 750 /etc/sudoers.d \ && chmod 640 /etc/sudoers.d/kolla_designate_sudoers \ && touch /usr/local/bin/kolla_designate_extend_start \ && chmod 755 /usr/local/bin/kolla_extend_start /usr/local/bin/kolla_designate_extend_start