Fix ownership of nova-novncproxy-source directory

This solves the following issue when using latest noVNC sources for
the nova-novncproxy container:

OSError: [Errno 13] Permission denied: '/usr/share/novnc'

Change-Id: Iea1f3dfcc696f53431e99570019e27cdef4ca5cb
Closes-bug: #1593006
This commit is contained in:
Christian Berendt 2016-06-16 01:24:59 +02:00
parent 2cb0f445bb
commit e299720eb7
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@ RUN apt-get -y install --no-install-recommends \
{% elif install_type == 'source' %}
ADD nova-novncproxy-archive /usr/share/nova-novncproxy-source
RUN cd /usr/share && ln -s nova-novncproxy-source/* novnc
RUN cd /usr/share \
&& ln -s nova-novncproxy-source/* novnc \
&& chown -R nova: /usr/share/nova-novncproxy-source
{% endif %}