Add a fix for novnc 1.0.0

Patch is pretty self explainitory

Change-Id: I802f4876caa0032a32f3caeac044d5265105edc7
This commit is contained in:
Sam Yaple 2018-03-29 20:19:25 -04:00
parent 2b4d9931e5
commit 324fe7a4aa
No known key found for this signature in database
GPG Key ID: 9329D8A45034DAB9
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@ set -ex
mkdir /usr/share/novnc
git clone -b ${NOVNC_REF} --depth 1 ${NOVNC_REPO} /usr/share/novnc
if [[ ! -f /usr/share/novnc/vnc_auto.html ]]; then
# NOTE(SamYaple): novnc >= 1.0.0 is installed
ln -s vnc_lite.html /usr/share/novnc/vnc_auto.html
fi
mkdir /usr/share/spice-html5
git clone -b ${SPICE_REF} --depth 1 ${SPICE_REPO} /usr/share/spice-html5