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}" <