Skip to content
This repository was archived by the owner on Sep 7, 2018. It is now read-only.

Commit 1279647

Browse files
committed
Fixes so that Grafana can find the aws credentials.
Closes #158
1 parent a777776 commit 1279647

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ if [ ! -d "$GF_PATHS_PLUGINS" ]; then
2525
mkdir "$GF_PATHS_PLUGINS"
2626
fi
2727

28-
2928
if [ ! -z ${GF_AWS_PROFILES+x} ]; then
3029
> "$GF_PATHS_HOME/.aws/credentials"
3130

@@ -47,6 +46,8 @@ if [ ! -z ${GF_AWS_PROFILES+x} ]; then
4746
chmod 600 "$GF_PATHS_HOME/.aws/credentials"
4847
fi
4948

49+
export HOME="$GF_PATHS_HOME"
50+
5051
if [ ! -z "${GF_INSTALL_PLUGINS}" ]; then
5152
OLDIFS=$IFS
5253
IFS=','

0 commit comments

Comments
 (0)