From 5b90ae9e053cce1c0a1cc7963098b8bc227cbb7a Mon Sep 17 00:00:00 2001 From: Eliezer Croitoru Date: Mon, 8 Jan 2024 00:49:41 +0200 Subject: [PATCH] 2 --- 0015-configure-opensearch.sh | 6 +++++- 0019-enable-opensearch.sh | 2 +- 0020-install-mongodb.sh | 2 +- 0055-configure-graylog.sh | 18 ++++++++++++++++++ Makefile | 7 +++++++ 5 files changed, 32 insertions(+), 3 deletions(-) create mode 100755 0055-configure-graylog.sh diff --git a/0015-configure-opensearch.sh b/0015-configure-opensearch.sh index 53e1d06..14bf104 100755 --- a/0015-configure-opensearch.sh +++ b/0015-configure-opensearch.sh @@ -3,7 +3,11 @@ CONFIG_FILE="/etc/opensearch/opensearch.yml" grep 'discovery.type: single-node' "${CONFIG_FILE}" || \ -echo "discovery.type: single-node" >> "${CONFIG_FILE}" + cat >> "${CONFIG_FILE}" <