mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-12-10 15:25:53 -06:00
Merge pull request #1526 from wazuh/enhancement/1520-revert-create_user.py-script-deletion
Revert create_user.py script deletion
This commit is contained in:
commit
cb63566719
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user