summaryrefslogtreecommitdiff
path: root/packages/telegraf/build.sh
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-01 16:04:50 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-11-01 16:04:50 +0000
commite9c213470842200ea6f97b9b4689e274e7a159e0 (patch)
tree672bd9d0530593ad71f5af9973338f78d5b41627 /packages/telegraf/build.sh
parent0f1c429e06c1f64cac84a93188beb3567b8d7f11 (diff)
downloadvyos-build-e9c213470842200ea6f97b9b4689e274e7a159e0.tar.gz
vyos-build-e9c213470842200ea6f97b9b4689e274e7a159e0.zip
T5701: Bump telegraf to version v1.28.3
Diffstat (limited to 'packages/telegraf/build.sh')
-rwxr-xr-xpackages/telegraf/build.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/telegraf/build.sh b/packages/telegraf/build.sh
index 46dfc88a..2ba511d0 100755
--- a/packages/telegraf/build.sh
+++ b/packages/telegraf/build.sh
@@ -21,4 +21,7 @@ cp ${PLUGIN_DIR}/outputs/all/all.go ${SRC}/plugins/outputs/all/all.go
echo "I: Build Debian ${BUILD_ARCH} package"
cd ${SRC}
export PATH=/opt/go/bin:$PATH
+
+# Generate default telegraf config
+go run ./cmd/telegraf config > etc/telegraf.conf
LDFLAGS=-w make "${BUILD_ARCH}.deb"