From 92d0582201cc5c29135c289be3e5ea89fe6f3f1b Mon Sep 17 00:00:00 2001 From: Enrique Araque Date: Thu, 3 Oct 2024 13:18:25 +0200 Subject: [PATCH] Revert create_user.py script deletion --- .../wazuh-manager/config/etc/cont-init.d/2-manager | 1 - 1 file changed, 1 deletion(-) diff --git a/build-docker-images/wazuh-manager/config/etc/cont-init.d/2-manager b/build-docker-images/wazuh-manager/config/etc/cont-init.d/2-manager index 9e9aa9952..0bd90fd66 100644 --- a/build-docker-images/wazuh-manager/config/etc/cont-init.d/2-manager +++ b/build-docker-images/wazuh-manager/config/etc/cont-init.d/2-manager @@ -93,7 +93,6 @@ EOF if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then # remove json if exit code is 0 rm /var/ossec/api/configuration/admin.json - rm /var/ossec/framework/scripts/create_user.py else echored "There was an error configuring the API user" # terminate container to avoid unpredictable behavior