diff options
| author | Paul Bourke <paul.bourke@oracle.com> | 2016-12-09 11:23:10 +0000 |
|---|---|---|
| committer | Paul Bourke (pbourke) <paul.bourke@oracle.com> | 2017-01-03 16:40:05 +0000 |
| commit | 20801afaea3384eff064440b06039b70c115d891 (patch) | |
| tree | d986ce30a5b8b361dc8abb6e773d103cee595503 /docker/nova/nova-spicehtml5proxy | |
| parent | 2c887565d4299462a29b98210c2a7ce233e71039 (diff) | |
| download | kolla-20801afaea3384eff064440b06039b70c115d891.tar.gz kolla-20801afaea3384eff064440b06039b70c115d891.zip | |
Remove source install type for novnc / spice
Currently Kolla only offers source installs for OpenStack projects.
The novnc and spice images have been consistent with this resulting in
tarballs being pulled from github. The binary/source distinction should
be removed for these images.
Change-Id: Ibdf593a2a164e39bba3ea2a0e6333f2de876c2a0
Diffstat (limited to 'docker/nova/nova-spicehtml5proxy')
| -rw-r--r-- | docker/nova/nova-spicehtml5proxy/Dockerfile.j2 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 index f11bab9db..913d33e45 100644 --- a/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 +++ b/docker/nova/nova-spicehtml5proxy/Dockerfile.j2 @@ -23,16 +23,26 @@ MAINTAINER {{ maintainer }} {% endif %} -{{ macros.install_packages(nova_spicehtml5proxy_packages | customizable("packages")) }} - {% elif install_type == 'source' %} + {% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} -ADD nova-spicehtml5proxy-archive /usr/share/nova-spicehtml5proxy-source -RUN cd /usr/share \ - && ln -s nova-spicehtml5proxy-source/* spice-html5 + {% set nova_spicehtml5proxy_packages = [ + 'spice-html5', + 'numpy' + ] %} + + {% elif base_distro in ['ubuntu'] %} + {% set nova_spicehtml5proxy_packages = [ + 'spice-html5', + 'websockify' + ] %} + + {% endif %} {% endif %} +{{ macros.install_packages(nova_spicehtml5proxy_packages | customizable("packages")) }} + {% block nova_spicehtml5proxy_footer %}{% endblock %} {% block footer %}{% endblock %} {{ include_footer }} |
