Use PYTHON2.7 for npm
Change-Id: Ic69821bbae6a01bf6c68ca3e4f8c4b40ec5bf950
This commit is contained in:
parent
e25ec337c8
commit
d033c1cfbe
|
@ -1274,6 +1274,9 @@ function install_monasca_grafana {
|
|||
git_timed clone $GRAFANA_REPO $GRAFANA_DIR --branch $GRAFANA_BRANCH --depth 1
|
||||
fi
|
||||
|
||||
# Is required to use python2.7 to build grafana because node-gyp support only python2
|
||||
npm config set python /usr/bin/python2.7
|
||||
|
||||
cd "${MONASCA_BASE}"
|
||||
|
||||
mkdir grafana-build || true
|
||||
|
|
Loading…
Reference in New Issue