Update influxdb-install.sh

Choosing InfluxDB v1 will result in Chronograf being installed automatically.
This commit is contained in:
tteckster 2023-04-15 07:10:50 -04:00 committed by GitHub
parent b60c215223
commit 65dbf8a75b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,8 @@ if [[ $INFLUX == "2" ]]; then
$STD apt-get install -y influxdb2 $STD apt-get install -y influxdb2
else else
$STD apt-get install -y influxdb $STD apt-get install -y influxdb
wget -q https://dl.influxdata.com/chronograf/releases/chronograf_1.10.1_amd64.deb
$STD dpkg -i chronograf_1.10.1_amd64.deb
fi fi
$STD systemctl enable --now influxdb $STD systemctl enable --now influxdb
msg_ok "Installed InfluxDB" msg_ok "Installed InfluxDB"