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' %}
|
||||
|
||||
ADD ironic.tar /
|
||||
RUN ln -s /ironic-* /ironic
|
||||
|
||||
RUN cd /ironic \
|
||||
RUN ln -s /ironic-* ironic \
|
||||
&& useradd --user-group ironic \
|
||||
&& pip install -r requirements.txt \
|
||||
&& pip install --install-option="--install-scripts=/usr/bin" /ironic \
|
||||
&& pip --no-cache-dir install /ironic \
|
||||
&& mkdir -p /etc/ironic /var/log/ironic /home/ironic \
|
||||
&& cp -r /ironic/etc/* /etc/ironic/ \
|
||||
&& chown -R ironic: /etc/ironic /var/log/ironic /home/ironic \
|
||||
&& rm -rf /root/.cache
|
||||
&& chown -R ironic: /etc/ironic /var/log/ironic /home/ironic
|
||||
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user