From 0e1b0a838294c470a99274149af5993c36d6e246 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 10 Dec 2023 15:13:19 -0500 Subject: [PATCH] Update netdata.sh more tweaks --- misc/netdata.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/misc/netdata.sh b/misc/netdata.sh index ea6bfa67..5bfaeb9c 100644 --- a/misc/netdata.sh +++ b/misc/netdata.sh @@ -25,13 +25,15 @@ while true; do esac done -curl -sSL --fail --connect-timeout 10 --retry 3 -o netdata-repo-edge_2-1+debian12_all.deb https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo-edge_2-1+debian12_all.deb +curl -sSL --fail --connect-timeout 10 --retry 3 -o /root/netdata-repo-edge_2-1+debian12_all.deb https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo-edge_2-1+debian12_all.deb +apt-get install -y /root/netdata-repo-edge_2-1+debian12_all.deb cat </etc/apt/sources.list.d/netdata.list deb http://repo.netdata.cloud/repos/stable/debian/ bookworm/ deb http://repo.netdata.cloud/repos/repoconfig/debian/ bookworm/ EOF rm -rf /etc/apt/sources.list.d/netdata-edge.list netdata-repo-edge_2-1+debian12_all.deb -apt-get update && apt-get -y upgrade +apt-get update &>/dev/null +apt-get -y upgrade apt-get install -y netdata echo -e "\nInstalled NetData (http://$(hostname -I | awk '{print $1}'):19999)\n" }