PaloAltoNetworks / SafeNetworking

Read only mirror. To contribute or submit issues, please go to the website link --->
https://gitlab.com/panw-gse/as/SafeNetworking/
Apache License 2.0
12 stars 10 forks source link

Fix setup to use current UID #57

Closed punisherVX closed 5 years ago

punisherVX commented 5 years ago

Currently, the setup.sh is hardcoded to use the pan user. While this shouldn't be a problem, even the developer instructions document that it should be changed if needed, the elasticsearch.yml file still uses /home/pan/es_backup for the path.repo. Need to dynamically create this or put it in the instructions that it has to manually be changed.

punisherVX commented 5 years ago

This is fixed in both dcc84c8db6dca2cabc95ee4d53b4c4ee1fa7bf66 and e25852e commits.
This should be moved to an sfnadmin module.