diff options
| author | Sam Yaple <sam@yaple.net> | 2015-08-22 11:46:47 +0000 |
|---|---|---|
| committer | Sam Yaple <sam@yaple.net> | 2015-08-23 04:00:20 +0000 |
| commit | a070839b1f61e1cdd7bbcb0b943cd1683f19f093 (patch) | |
| tree | 23dbe1d48dd97b32cbfb850716e24e685fcc83bc /docker_templates/nova/nova-libvirt | |
| parent | dc0abd101903b6ff1906ae15a39d40786dd98c9b (diff) | |
| download | kolla-a070839b1f61e1cdd7bbcb0b943cd1683f19f093.tar.gz kolla-a070839b1f61e1cdd7bbcb0b943cd1683f19f093.zip | |
Ubuntu - Nova
Makes the tweaks to get Nova working on Ubuntu properly
Change-Id: I812f8878650b6412781e991ba34cc6187d7ff994
Partially-Implements: blueprint install-from-ubuntu
Diffstat (limited to 'docker_templates/nova/nova-libvirt')
| -rw-r--r-- | docker_templates/nova/nova-libvirt/Dockerfile.j2 | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docker_templates/nova/nova-libvirt/Dockerfile.j2 b/docker_templates/nova/nova-libvirt/Dockerfile.j2 index 691ec8133..29e0843c3 100644 --- a/docker_templates/nova/nova-libvirt/Dockerfile.j2 +++ b/docker_templates/nova/nova-libvirt/Dockerfile.j2 @@ -12,11 +12,19 @@ RUN yum -y install \ libvirt-daemon-driver-lxc \ && yum clean all +{% elif base_distro in ['ubuntu', 'debian'] %} + +RUN apt-get install -y --no-install-recommends \ + libvirt-bin \ + dmidecode \ + pm-utils \ + qemu \ + ebtables \ + && apt-get clean + {% endif %} COPY start.sh / COPY config-external.sh /opt/kolla/ -VOLUME [ "/sys/fs/cgroup" ] - CMD ["/start.sh"] |
