Ironic ubuntu binary container
Change-Id: I94ef03c11657d36261f3ddc63056422f84ec2c6a Partially-Implements: blueprint binary-ubuntu
This commit is contained in:
parent
dfead6d683
commit
ccc2ad57eb
@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN yum -y install openstack-ironic-api \
|
RUN yum -y install openstack-ironic-api \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
ironic-api \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -8,6 +8,12 @@ RUN yum -y install \
|
|||||||
openstack-ironic-common \
|
openstack-ironic-common \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
ironic-common \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
|
@ -7,6 +7,14 @@ MAINTAINER {{ maintainer }}
|
|||||||
RUN yum -y install openstack-ironic-conductor \
|
RUN yum -y install openstack-ironic-conductor \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
ironic-conductor \
|
||||||
|
qemu-utils \
|
||||||
|
ipmitool \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
@ -14,8 +22,7 @@ RUN yum -y install openstack-ironic-conductor \
|
|||||||
RUN yum -y install ipmitool \
|
RUN yum -y install ipmitool \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
{% endif %}
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
|
||||||
|
|
||||||
RUN apt-get install -y --no-install-recommends \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
qemu-utils \
|
qemu-utils \
|
||||||
|
@ -14,6 +14,8 @@ RUN apt-get install -y --no-install-recommends \
|
|||||||
nova-compute \
|
nova-compute \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
|
RUN rm /etc/nova/nova-compute.conf
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user