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
This commit is contained in:
parent
296d17af2d
commit
df02ffe1c5
@ -21,7 +21,7 @@ RUN ln -s ironic-base-source/* ironic \
|
|||||||
&& useradd --user-group ironic \
|
&& useradd --user-group ironic \
|
||||||
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /ironic \
|
&& pip --no-cache-dir install -c requirements/upper-constraints.txt /ironic \
|
||||||
&& mkdir -p /etc/ironic /var/log/ironic /home/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
|
&& chown -R ironic: /etc/ironic /var/log/ironic /home/ironic
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user