testan a reboold \
This commit is contained in:
+4
-4
@@ -222,8 +222,8 @@ phase_four () {
|
|||||||
# grafana repo and install
|
# grafana repo and install
|
||||||
echo -e "\nAdd Grafana repo...\n"
|
echo -e "\nAdd Grafana repo...\n"
|
||||||
sudo mkdir -p /etc/apt/keyrings/
|
sudo mkdir -p /etc/apt/keyrings/
|
||||||
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg
|
wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg >/dev/null # otherwisse get some stupid binary output to terminal
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list >/dev/null # otherwisse get some stupid binary output to terminal
|
echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list >/dev/null
|
||||||
|
|
||||||
# telegraf repo and install
|
# telegraf repo and install
|
||||||
echo -e "\nAdd Telegraf repo...\n"
|
echo -e "\nAdd Telegraf repo...\n"
|
||||||
@@ -232,9 +232,9 @@ phase_four () {
|
|||||||
&& echo "943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive.key" \
|
&& echo "943666881a1b8d9b849b74caebf02d3465d6beb716510d86a39f6c8e8dac7515 influxdata-archive.key" \
|
||||||
| sha256sum -c - && cat influxdata-archive.key \
|
| sha256sum -c - && cat influxdata-archive.key \
|
||||||
| gpg --dearmor \
|
| gpg --dearmor \
|
||||||
| sudo tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg \
|
| sudo tee /etc/apt/trusted.gpg.d/influxdata-archive.gpg >/dev/null \
|
||||||
&& echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \
|
&& echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \
|
||||||
| sudo tee /etc/apt/sources.list.d/influxdata.list >/dev/null # otherwisse get some stupid binary output to terminal
|
| sudo tee /etc/apt/sources.list.d/influxdata.list >/dev/null
|
||||||
|
|
||||||
# remove dat key file thing
|
# remove dat key file thing
|
||||||
if [ -f /home/$username/influxdata-archive.key ]; then
|
if [ -f /home/$username/influxdata-archive.key ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user