Fix proxy for Grafana script
The prometheus/grafana script needs to download a grafana json file by curl which doesn't work since the proxy issue. This patch fixes it. Task: 38167 Story: 2007005 Change-Id: I51ba108e23524eecc04bbbd47a5b50b8d4a529f9
This commit is contained in:
parent
7f8ffe7d7b
commit
4346d776e5
@ -5,6 +5,18 @@ printf "Starting to run ${step}\n"
|
||||
|
||||
. /etc/sysconfig/heat-params
|
||||
|
||||
if [ ! -z "$HTTP_PROXY" ]; then
|
||||
export HTTP_PROXY
|
||||
fi
|
||||
|
||||
if [ ! -z "$HTTPS_PROXY" ]; then
|
||||
export HTTPS_PROXY
|
||||
fi
|
||||
|
||||
if [ ! -z "$NO_PROXY" ]; then
|
||||
export NO_PROXY
|
||||
fi
|
||||
|
||||
function writeFile {
|
||||
# $1 is filename
|
||||
# $2 is file content
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
This proxy issue of Prometheus/Grafana script has been fixed.
|
Loading…
x
Reference in New Issue
Block a user