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
(cherry picked from commit 4346d776e5
)
This commit is contained in:
parent
1115672e72
commit
84cd9ca381
|
@ -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…
Reference in New Issue