From d8a90dc6b7db86991fd482b9ad191ab7f3e1f70f Mon Sep 17 00:00:00 2001 From: AlfonsoRBJ Date: Thu, 26 Mar 2020 15:58:33 +0100 Subject: [PATCH] delay the wazuh remove credentials (#319) Former-commit-id: cc0e0d13aaccf79a2c9f799ca50add1ebdea9a21 --- wazuh/Dockerfile | 8 ++++---- ..._credentials_file.sh => 35-remove_credentials_file.sh} | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename wazuh/config/{05-remove_credentials_file.sh => 35-remove_credentials_file.sh} (100%) diff --git a/wazuh/Dockerfile b/wazuh/Dockerfile index 7bf07c8c..93473a22 100644 --- a/wazuh/Dockerfile +++ b/wazuh/Dockerfile @@ -97,17 +97,17 @@ COPY config/00-decrypt_credentials.sh /entrypoint-scripts/00-decrypt_credentials COPY config/01-wazuh.sh /entrypoint-scripts/01-wazuh.sh COPY config/02-set_filebeat_destination.sh /entrypoint-scripts/02-set_filebeat_destination.sh COPY config/03-config_filebeat.sh /entrypoint-scripts/03-config_filebeat.sh -COPY config/05-remove_credentials_file.sh /entrypoint-scripts/05-remove_credentials_file.sh -COPY config/25-backups.sh /entrypoint-scripts/25-backups.sh COPY config/20-ossec-configuration.sh /entrypoint-scripts/20-ossec-configuration.sh +COPY config/25-backups.sh /entrypoint-scripts/25-backups.sh +COPY config/35-remove_credentials_file.sh /entrypoint-scripts/35-remove_credentials_file.sh RUN chmod 755 /entrypoint.sh && \ chmod 755 /entrypoint-scripts/00-decrypt_credentials.sh && \ chmod 755 /entrypoint-scripts/01-wazuh.sh && \ chmod 755 /entrypoint-scripts/02-set_filebeat_destination.sh && \ chmod 755 /entrypoint-scripts/03-config_filebeat.sh && \ - chmod 755 /entrypoint-scripts/05-remove_credentials_file.sh && \ + chmod 755 /entrypoint-scripts/20-ossec-configuration.sh && \ chmod 755 /entrypoint-scripts/25-backups.sh && \ - chmod 755 /entrypoint-scripts/20-ossec-configuration.sh + chmod 755 /entrypoint-scripts/35-remove_credentials_file.sh # Workaround. # Issues: Wazuh-api diff --git a/wazuh/config/05-remove_credentials_file.sh b/wazuh/config/35-remove_credentials_file.sh similarity index 100% rename from wazuh/config/05-remove_credentials_file.sh rename to wazuh/config/35-remove_credentials_file.sh