Unify Centos and Ubuntu Source Install - Ironic
A change merged in the base allows for Centos and Ubuntu to install all python things to the same locations. This updates the source section to reflect that change. Change-Id: I37132d763e4022ebd177a33696b08290cf20ad54 Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
eecf6581a4
commit
97c18df507
@ -23,15 +23,11 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
|||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
ADD ironic.tar /
|
ADD ironic.tar /
|
||||||
RUN ln -s /ironic-* /ironic
|
RUN ln -s /ironic-* ironic \
|
||||||
|
|
||||||
RUN cd /ironic \
|
|
||||||
&& useradd --user-group ironic \
|
&& useradd --user-group ironic \
|
||||||
&& pip install -r requirements.txt \
|
&& pip --no-cache-dir install /ironic \
|
||||||
&& pip install --install-option="--install-scripts=/usr/bin" /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/* /etc/ironic/ \
|
||||||
&& chown -R ironic: /etc/ironic /var/log/ironic /home/ironic \
|
&& chown -R ironic: /etc/ironic /var/log/ironic /home/ironic
|
||||||
&& rm -rf /root/.cache
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user