Merge pull request #1274 from wazuh/513-delete-create-user

Delete create_user.py script
This commit is contained in:
Gonzalo Acuña
2024-03-25 09:45:50 -03:00
committed by GitHub
@@ -93,6 +93,7 @@ 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