From 05aece7433a5543447ab523cb4ba7ccf362aeee6 Mon Sep 17 00:00:00 2001 From: Carlos Bordon Date: Wed, 3 Dec 2025 14:45:33 -0300 Subject: [PATCH] Added debug symbols for config.sh --- build-docker-images/wazuh-dashboard/config/config.sh | 5 ++++- build-docker-images/wazuh-indexer/config/config.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build-docker-images/wazuh-dashboard/config/config.sh b/build-docker-images/wazuh-dashboard/config/config.sh index b6c3b32c..6460677a 100644 --- a/build-docker-images/wazuh-dashboard/config/config.sh +++ b/build-docker-images/wazuh-dashboard/config/config.sh @@ -1,5 +1,6 @@ # Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2) # This has to be exported to make some magic below work. +set -x export DH_OPTIONS export NAME=wazuh-dashboard @@ -54,4 +55,6 @@ cp -pr /wazuh-certificates/admin-key.pem ${CONFIG_DIR}/certs/admin-key.pem sed -i "s|/etc/wazuh-dashboard|${CONFIG_DIR}|g" ${CONFIG_DIR}/opensearch_dashboards.yml chmod -R 500 ${CONFIG_DIR}/certs -chmod -R 400 ${CONFIG_DIR}/certs/* \ No newline at end of file +chmod -R 400 ${CONFIG_DIR}/certs/* + +set +x \ No newline at end of file diff --git a/build-docker-images/wazuh-indexer/config/config.sh b/build-docker-images/wazuh-indexer/config/config.sh index f2dd1bbd..ba218c5d 100644 --- a/build-docker-images/wazuh-indexer/config/config.sh +++ b/build-docker-images/wazuh-indexer/config/config.sh @@ -1,5 +1,6 @@ # Wazuh Docker Copyright (C) 2017, Wazuh Inc. (License GPLv2) # This has to be exported to make some magic below work. +set -x export DH_OPTIONS export NAME=wazuh-indexer @@ -63,4 +64,6 @@ sed -i 's/-Djava.security.policy=file:\/\/\/etc\/wazuh-indexer\/opensearch-perfo chown -R ${USER}:${GROUP} ${CONFIG_DIR} chmod -R 500 ${CONFIG_DIR}/certs -chmod -R 400 ${CONFIG_DIR}/certs/* \ No newline at end of file +chmod -R 400 ${CONFIG_DIR}/certs/* + +set +x \ No newline at end of file