
Cleans up the comment style to remove author names and clarify the comment as it relates to the code. Using the NOTE (NAME): format is redundant and takes away attention from the purpose of documenting why an action is being taken. Also updates status of TODO and FIXME items, including removing code was a workaround fixed by a recent patch. Change-Id: I2e087be1e204c618d1dbe499b3f69eae34ce656f
21 lines
739 B
Bash
Executable File
21 lines
739 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
# Nova console is a special case. The html files needed to make this work
|
|
# exist only upstream. The "packaged" versions of these come only from
|
|
# OpenStack specific repos and they have hard requirements to a massive
|
|
# amount of packages. Installing from "source" is the only way to get
|
|
# these html files into the container. In total this adds less than a MB
|
|
# to the image size
|
|
|
|
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
|
|
# 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
|