From 3641028e1dcc97d18dfe9d1d8d3ce8e2f33b7e00 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 13 Jan 2023 06:18:33 -0500 Subject: [PATCH] Update grafana-v5-install.sh Grafana packages will be served from a new repository --- install/grafana-v5-install.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/install/grafana-v5-install.sh b/install/grafana-v5-install.sh index 7647e08f..23fc0f5b 100644 --- a/install/grafana-v5-install.sh +++ b/install/grafana-v5-install.sh @@ -90,10 +90,8 @@ $STD apt-get install -y software-properties-common msg_ok "Installed Dependencies" msg_info "Setting up Grafana Repository" -$STD apt-key add <(curl -fsSL https://packages.grafana.com/gpg.key) -cat </etc/apt/sources.list.d/grafana.list -deb https://packages.grafana.com/oss/deb stable main -EOF +wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key +sh -c 'echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" > /etc/apt/sources.list.d/grafana.list' msg_ok "Set up Grafana Repository" msg_info "Installing Grafana"