From 73f2789c9588087c7185569edd7f92131fbd1bda Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Mon, 19 Dec 2022 10:28:20 -0500 Subject: [PATCH] Replace hardcoded URLs in soup with new $DOC_BASE_URL variable from so-common --- salt/common/tools/sbin/soup | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index b556e80b1..6bdd49661 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -47,7 +47,7 @@ check_err() { ;; 28) echo 'No space left on device' - echo 'Likely ran out of space on disk, please review hardware requirements for Security Onion: https://docs.securityonion.net/en/2.4/hardware.html' + echo "Likely ran out of space on disk, please review hardware requirements for Security Onion: $DOC_BASE_URL/hardware.html" ;; 30) echo 'Read-only file system' @@ -458,7 +458,7 @@ es_indices_check() { if [ -z "$UNSUPPORTED_INDICES" ]; then echo "No unsupported indices found." else - echo "The following indices were created with Elasticsearch 6, and are not supported when upgrading to Elasticsearch 8. These indices may need to be deleted, migrated, or re-indexed before proceeding with the upgrade. Please see https://docs.securityonion.net/en/2.4/soup.html#elastic-8 for more details." + echo "The following indices were created with Elasticsearch 6, and are not supported when upgrading to Elasticsearch 8. These indices may need to be deleted, migrated, or re-indexed before proceeding with the upgrade. Please see $DOC_BASE_URL/soup.html#elastic-8 for more details." echo echo "$UNSUPPORTED_INDICES" exit 1 @@ -1411,7 +1411,7 @@ Each minion is on a random 15 minute check-in period and things like network ban If it looks like you’re missing data after the upgrade, please avoid restarting services and instead make sure at least one search node has completed its upgrade. The best way to do this is to run 'sudo salt-call state.highstate' from a search node and make sure there are no errors. Typically if it works on one node it will work on the rest. Forward nodes are less complex and will update as they check in so you can monitor those from the Grid section of SOC. -For more information, please see https://docs.securityonion.net/en/2.4/soup.html#distributed-deployments. +For more information, please see $DOC_BASE_URL/soup.html#distributed-deployments. EOF @@ -1425,7 +1425,7 @@ EOF A custom Elasticsearch configuration has been found at /opt/so/saltstack/local/elasticsearch/files/elasticsearch.yml. This file is no longer referenced in Security Onion versions >= 2.3.80. -If you still need those customizations, you'll need to manually migrate them to the new Elasticsearch config as shown at https://docs.securityonion.net/en/2.4/elasticsearch.html. +If you still need those customizations, you'll need to manually migrate them to the new Elasticsearch config as shown at $DOC_BASE_URL/elasticsearch.html. EOF @@ -1472,7 +1472,7 @@ if [[ -z $UNATTENDED ]]; then SOUP - Security Onion UPdater Please review the following for more information about the update process and recent updates: -https://docs.securityonion.net/en/2.4/soup.html +$DOC_BASE_URL/soup.html https://blog.securityonion.net EOF