mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 19:23:20 +01:00
Update netdata.sh
tweak
This commit is contained in:
parent
76b26b030e
commit
a777fd5364
@ -25,12 +25,12 @@ while true; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
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
|
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
|
||||||
cat <<EOF >/etc/apt/sources.list.d/netdata.list
|
cat <<EOF >/etc/apt/sources.list.d/netdata.list
|
||||||
deb http://repo.netdata.cloud/repos/stable/debian/ bookworm/
|
deb http://repo.netdata.cloud/repos/stable/debian/ bookworm/
|
||||||
deb http://repo.netdata.cloud/repos/repoconfig/debian/ bookworm/
|
deb http://repo.netdata.cloud/repos/repoconfig/debian/ bookworm/
|
||||||
EOF
|
EOF
|
||||||
rm -rf /etc/apt/sources.list.d/netdata-edge.list
|
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 && apt-get -y upgrade
|
||||||
apt-get install -y netdata
|
apt-get install -y netdata
|
||||||
echo -e "\nInstalled NetData (http://$(hostname -I | awk '{print $1}'):19999)\n"
|
echo -e "\nInstalled NetData (http://$(hostname -I | awk '{print $1}'):19999)\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user