forked from extern/Proxmox
Update influxdb-v5-install.sh
fix sources
This commit is contained in:
parent
bc6ac71bc6
commit
8307bbe86c
@ -93,9 +93,7 @@ msg_ok "Installed Dependencies"
|
|||||||
|
|
||||||
msg_info "Setting up InfluxDB Repository"
|
msg_info "Setting up InfluxDB Repository"
|
||||||
$STD apt-key add <(curl -fsSL https://repos.influxdata.com/influxdb.key)
|
$STD apt-key add <(curl -fsSL https://repos.influxdata.com/influxdb.key)
|
||||||
cat <<EOF >/etc/apt/sources.list.d/influxdb.list
|
sh -c 'echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable" > sudo tee /etc/apt/sources.list.d/influxdb.list'
|
||||||
deb https://repos.influxdata.com/debian bullseye stable
|
|
||||||
EOF
|
|
||||||
msg_ok "Set up InfluxDB Repository"
|
msg_ok "Set up InfluxDB Repository"
|
||||||
|
|
||||||
read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt
|
read -r -p "Which version of InfluxDB to install? (1 or 2) " prompt
|
||||||
|
Loading…
Reference in New Issue
Block a user