1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-11-24 08:52:18 +02:00

Update influxdb-v5-install.sh

fix sources
This commit is contained in:
tteckster 2023-01-27 01:33:16 -05:00 committed by GitHub
parent bc6ac71bc6
commit 8307bbe86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,9 +93,7 @@ msg_ok "Installed Dependencies"
msg_info "Setting up InfluxDB Repository"
$STD apt-key add <(curl -fsSL https://repos.influxdata.com/influxdb.key)
cat <<EOF >/etc/apt/sources.list.d/influxdb.list
deb https://repos.influxdata.com/debian bullseye stable
EOF
sh -c 'echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" > sudo tee /etc/apt/sources.list.d/influxdb.list'
msg_ok "Set up InfluxDB Repository"
read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt