mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
code refactoring
This commit is contained in:
parent
6d2a8a2ec4
commit
7305fa4f0a
6 changed files with 4 additions and 43 deletions
|
@ -120,12 +120,6 @@ msg_ok "Installed InfluxDB"
|
|||
|
||||
read -r -p "Would you like to add Telegraf? <y/N> " prompt
|
||||
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
TELEGRAF="Y"
|
||||
else
|
||||
TELEGRAF="N"
|
||||
fi
|
||||
|
||||
if [[ $TELEGRAF == "Y" ]]; then
|
||||
msg_info "Installing Telegraf"
|
||||
$STD apt-get install -y telegraf
|
||||
msg_ok "Installed Telegraf"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue