diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-08-24 18:42:05 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-08-24 18:42:05 +0000 |
| commit | 7c83b0e5b977ed66b1c66ed044b6baf80e4bd54d (patch) | |
| tree | 562514aed0715ad5710cfb0663dc58ea9d4cea2e /docker_templates/nova/nova-compute | |
| parent | f248eafdfda544ed2c9d6a6bcf9a54a53de33c5e (diff) | |
| parent | a070839b1f61e1cdd7bbcb0b943cd1683f19f093 (diff) | |
| download | kolla-7c83b0e5b977ed66b1c66ed044b6baf80e4bd54d.tar.gz kolla-7c83b0e5b977ed66b1c66ed044b6baf80e4bd54d.zip | |
Merge "Ubuntu - Nova"
Diffstat (limited to 'docker_templates/nova/nova-compute')
| -rw-r--r-- | docker_templates/nova/nova-compute/Dockerfile.j2 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docker_templates/nova/nova-compute/Dockerfile.j2 b/docker_templates/nova/nova-compute/Dockerfile.j2 index 84dd5d3d8..214cde4fe 100644 --- a/docker_templates/nova/nova-compute/Dockerfile.j2 +++ b/docker_templates/nova/nova-compute/Dockerfile.j2 @@ -11,17 +11,22 @@ RUN yum -y install openstack-nova-compute \ {% endif %} {% elif install_type == 'source' %} + {% if base_distro in ['fedora', 'centos', 'oraclelinux'] %} RUN yum -y install \ sysfsutils \ libvirt-python \ && yum clean all + {% elif base_distro in ['ubuntu', 'debian'] %} + +RUN apt-get install -y --no-install-recommends qemu-utils \ + && apt-get clean + + {% endif %} {% endif %} COPY start.sh / COPY config-external.sh /opt/kolla/ -VOLUME [ "/sys/fs/cgroup" ] - CMD ["/start.sh"] |
