From df02ffe1c504719dd1838fe698cfa0ffe062fa89 Mon Sep 17 00:00:00 2001 From: Andrey Shestakov Date: Fri, 20 Nov 2015 21:34:22 +0200 Subject: [PATCH] Fix /etc files location for ironic-base building from sources Ironic config files should be palced to /etc/ironic/* Closes-Bug: #1518433 Change-Id: Ic82dbb9a28ed3adb6bfca2d0f715da3a7bbc4698 --- docker/ironic/ironic-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/ironic/ironic-base/Dockerfile.j2 b/docker/ironic/ironic-base/Dockerfile.j2 index 351d7a0e93..26007a5a1d 100644 --- a/docker/ironic/ironic-base/Dockerfile.j2 +++ b/docker/ironic/ironic-base/Dockerfile.j2 @@ -21,7 +21,7 @@ RUN ln -s ironic-base-source/* ironic \ && useradd --user-group ironic \ && pip --no-cache-dir install -c requirements/upper-constraints.txt /ironic \ && mkdir -p /etc/ironic /var/log/ironic /home/ironic \ - && cp -r /ironic/etc/* /etc/ironic/ \ + && cp -r /ironic/etc/ironic/* /etc/ironic/ \ && chown -R ironic: /etc/ironic /var/log/ironic /home/ironic {% endif %}