mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 04:15:53 +00:00
Simplify Telegraf installation script
This commit is contained in:
@@ -29,16 +29,11 @@ apt-get update
|
||||
apt-get install telegraf
|
||||
msg_ok "Installed Telegraf"
|
||||
|
||||
msg_info "Creating default config"
|
||||
telegraf config > telegraf.conf
|
||||
msg_ok "Created default config"
|
||||
|
||||
systemctl enable -q --now telegraf
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
rm /influxdata-archive.key
|
||||
msg_ok "Cleaned"
|
||||
|
||||
Reference in New Issue
Block a user