Skip to content
Snippets Groups Projects
Commit 009da0f7 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Ironic From Source"

parents 6cb6c088 e4e4bf07
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,11 @@ type = url
location = http://tarballs.openstack.org/horizon/horizon-master.tar.gz
dest_filename = horizon.tar
[ironic-base]
type = url
location = http://tarballs.openstack.org/ironic/ironic-master.tar.gz
dest_filename = ironic.tar
[keystone]
type = url
location = http://tarballs.openstack.org/keystone/keystone-master.tar.gz
......
......@@ -8,10 +8,10 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
# api: policy
# conductor:MySQL-python
RUN yum -y install \
python-oslo-log \
python-oslo-concurrency \
python-oslo-policy \
MySQL-python \
python-oslo-log \
python-oslo-concurrency \
python-oslo-policy \
MySQL-python \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
......@@ -22,7 +22,16 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% endif %}
{% elif install_type == 'source' %}
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
&& /bin/false
ADD ironic.tar /
RUN ln -s /ironic-* /ironic
RUN cd /ironic \
&& useradd --user-group ironic \
&& pip install -r requirements.txt \
&& pip install --install-option="--install-scripts=/usr/bin" /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
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment