Add nova-spicehtml5proxy console
Change-Id: I0ca15e00ee52373b84f7021d86a29304526b7436 Partially-Implements: blueprint nova-proxies
This commit is contained in:
parent
7ee4bb01c2
commit
a7d4431928
11
ansible/roles/nova/templates/nova-spicehtml5proxy.json.j2
Normal file
11
ansible/roles/nova/templates/nova-spicehtml5proxy.json.j2
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"command": "/usr/bin/nova-spicehtml5proxy",
|
||||||
|
"config_files": [
|
||||||
|
{
|
||||||
|
"source": "{{ container_config_directory }}/nova.conf",
|
||||||
|
"dest": "/etc/nova/nova.conf",
|
||||||
|
"owner": "nova",
|
||||||
|
"perm": "0600"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
18
docker/nova/nova-spicehtml5proxy/Dockerfile.j2
Normal file
18
docker/nova/nova-spicehtml5proxy/Dockerfile.j2
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
|
||||||
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||||
|
|
||||||
|
{% if install_type == 'binary' %}
|
||||||
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
|
RUN echo 'ERROR: The specified distro has no Kolla images to build: "{{ base_distro }}"' \
|
||||||
|
&& /bin/false
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% elif install_type == 'source' %}
|
||||||
|
|
||||||
|
ADD nova-spicehtml5proxy-archive /usr/share/nova-spicehtml5proxy-source
|
||||||
|
RUN cd /usr/share && ln -s nova-spicehtml5proxy-source/* spice-html5
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ include_footer }}
|
@ -113,6 +113,14 @@ location = http://tarballs.openstack.org/neutron/neutron-master.tar.gz
|
|||||||
type = url
|
type = url
|
||||||
location = http://tarballs.openstack.org/nova/nova-master.tar.gz
|
location = http://tarballs.openstack.org/nova/nova-master.tar.gz
|
||||||
|
|
||||||
|
[nova-spicehtml5proxy]
|
||||||
|
## freedesktop.org has the latest untagged code and should be prefered for git
|
||||||
|
# type = git
|
||||||
|
# location = http://anongit.freedesktop.org/git/spice/spice-html5.git
|
||||||
|
# reference = master
|
||||||
|
type = url
|
||||||
|
location = http://github.com/SPICE/spice-html5/tarball/spice-html5-0.1.6
|
||||||
|
|
||||||
[nova-novncproxy]
|
[nova-novncproxy]
|
||||||
type = url
|
type = url
|
||||||
location = http://github.com/kanaka/noVNC/tarball/v0.5.1
|
location = http://github.com/kanaka/noVNC/tarball/v0.5.1
|
||||||
|
Loading…
Reference in New Issue
Block a user