From af5db1efac7ac9e59ecbdff46f0cd55a32c7618f Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez Date: Wed, 25 Mar 2020 14:10:24 +0100 Subject: [PATCH] Create config file from scratch when not a migration --- kibana/config/wazuh_app_config.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kibana/config/wazuh_app_config.sh b/kibana/config/wazuh_app_config.sh index 89b5a49..cae2dce 100644 --- a/kibana/config/wazuh_app_config.sh +++ b/kibana/config/wazuh_app_config.sh @@ -55,7 +55,8 @@ 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 port: $wazuh_port