mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-11-03 21:43:15 +00:00
delete create_user.py script
This commit is contained in:
@@ -93,6 +93,7 @@ EOF
|
|||||||
if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then
|
if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then
|
||||||
# remove json if exit code is 0
|
# remove json if exit code is 0
|
||||||
rm /var/ossec/api/configuration/admin.json
|
rm /var/ossec/api/configuration/admin.json
|
||||||
|
rm /var/ossec/framework/scripts/create_user.py
|
||||||
else
|
else
|
||||||
echored "There was an error configuring the API user"
|
echored "There was an error configuring the API user"
|
||||||
# terminate container to avoid unpredictable behavior
|
# terminate container to avoid unpredictable behavior
|
||||||
|
|||||||
Reference in New Issue
Block a user