mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-28 09:33:13 +02:00
Update influxdb-install.sh
tweak
This commit is contained in:
parent
eb9bff22c3
commit
2ec2831d5f
@ -23,9 +23,8 @@ $STD apt-get install -y gnupg2
|
|||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Setting up InfluxDB Repository"
|
msg_info "Setting up InfluxDB Repository"
|
||||||
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
|
wget -qO- https://repos.influxdata.com/influxdata-archive_compat.key | gpg --dearmor > /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
|
||||||
cat influxdata-archive_compat.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
|
echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list
|
||||||
sh -c 'echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main" > /etc/apt/sources.list.d/influxdata.list'
|
|
||||||
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