mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Replace hardcoded URL in so-analyst-install with new $DOC_BASE_URL variable from so-common
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
# Elastic License 2.0.
|
||||
|
||||
|
||||
doc_workstation_url="https://docs.securityonion.net/en/2.4/analyst-vm.html"
|
||||
{# we only want the script to install the workstation if it is CentOS -#}
|
||||
{% if grains.os == 'CentOS' -%}
|
||||
{# if this is a manager -#}
|
||||
{% if grains.master == grains.id.split('_')|first -%}
|
||||
|
||||
source /usr/sbin/so-common
|
||||
doc_workstation_url="$DOC_BASE_URL/analyst-vm.html"
|
||||
pillar_file="/opt/so/saltstack/local/pillar/minions/{{grains.id}}.sls"
|
||||
|
||||
if [ -f "$pillar_file" ]; then
|
||||
|
||||
Reference in New Issue
Block a user