[Scrutiny] apt update before installing InfluxDB

This commit is contained in:
Sam Heinz
2024-06-28 09:15:01 +10:00
parent 88d855dee2
commit a8f776fa9b

View File

@@ -35,6 +35,7 @@ sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
msg_ok "Set up InfluxDB Repository"
msg_info "Installing InfluxDB"
$STD apt-get update
$STD apt-get install -y influxdb2
$STD systemctl enable --now influxdb
msg_ok "Installed InfluxDB"