From 47ee64b13fb9a86fd661891a29125df99d316539 Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Mon, 19 Oct 2020 13:00:32 +0200 Subject: [PATCH] Avoid overwriting complete config --- kibana-opendistro/config/wazuh_app_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibana-opendistro/config/wazuh_app_config.sh b/kibana-opendistro/config/wazuh_app_config.sh index db1d8f82..f25c0105 100644 --- a/kibana-opendistro/config/wazuh_app_config.sh +++ b/kibana-opendistro/config/wazuh_app_config.sh @@ -54,7 +54,7 @@ grep -q 1513629884013 $kibana_config_file _config_exists=$? if [[ "x$CONFIG_CODE" != "x200" && $_config_exists -ne 0 ]]; then -cat << EOF > $kibana_config_file +cat << EOF >> $kibana_config_file hosts: - 1513629884013: url: $wazuh_url