From 22da062a2bc8096031483f4c4fb9a0a681f661b7 Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Tue, 20 Oct 2020 13:09:43 +0200 Subject: [PATCH] Remove duplicated block --- wazuh-opendistro/config/etc/cont-init.d/0-wazuh-init | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/wazuh-opendistro/config/etc/cont-init.d/0-wazuh-init b/wazuh-opendistro/config/etc/cont-init.d/0-wazuh-init index 41bd852a..36f69247 100644 --- a/wazuh-opendistro/config/etc/cont-init.d/0-wazuh-init +++ b/wazuh-opendistro/config/etc/cont-init.d/0-wazuh-init @@ -118,16 +118,6 @@ mount_files() { fi } -############################################################################## -# Allow users to set the container hostname as dynamically on -# container start. -# -# To use this: -# 1. Create your own ossec.conf file -# 2. In your ossec.conf file, set to_be_replaced_by_hostname as your node_name -# 3. Mount your custom ossec.conf file at $WAZUH_CONFIG_MOUNT/etc/ossec.conf -############################################################################## -sed -i 's/to_be_replaced_by_hostname<\/node_name>/'"${HOSTNAME}"'<\/node_name>/g' ${WAZUH_INSTALL_PATH}/etc/ossec.conf ############################################################################## # Allow users to set the container hostname as dynamically on