PaloAltoNetworks/SafeNetworking

Fix setup to use current UID

punisherVX opened this issue · 1 comments

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.

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