Merge "Nova ubuntu binary container"

This commit is contained in:
Jenkins 2016-01-07 11:50:19 +00:00 committed by Gerrit Code Review
commit d52f5aea68
10 changed files with 70 additions and 0 deletions

View File

@ -7,6 +7,13 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-api \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-api \
python-memcache \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -15,6 +15,14 @@ RUN yum -y install \
bridge-utils \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-common \
python-nova \
bridge-utils \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -8,6 +8,12 @@ RUN yum -y install \
openstack-nova-compute \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-compute \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -11,6 +11,18 @@ RUN yum -y install \
ceph-common \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
# ironic as workaround https://bugs.launchpad.net/packstack/+bug/1430388
RUN apt-get install -y --no-install-recommends \
nova-compute \
openvswitch-switch \
sysfsutils \
ceph-common \
ironic-common \
python-ironicclient \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-conductor \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-conductor \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,13 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-console \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-consoleauth \
python-memcache \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -10,6 +10,12 @@ RUN yum -y install \
initscripts \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-network \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}

View File

@ -9,6 +9,12 @@ RUN yum -y install \
openstack-nova-novncproxy \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-novncproxy \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-scheduler \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-scheduler \
&& apt-get clean
{% endif %}
{% endif %}

View File

@ -7,6 +7,12 @@ MAINTAINER {{ maintainer }}
RUN yum -y install openstack-nova-spicehtml5proxy \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y --no-install-recommends \
nova-spiceproxy \
&& apt-get clean
{% endif %}
{% elif install_type == 'source' %}