Replace hardcoded URLs with new $DOC_BASE_URL variable from so-common

This commit is contained in:
Doug Burks
2022-12-19 10:24:03 -05:00
committed by GitHub
parent 042693895a
commit a28f804f7f

View File

@@ -244,7 +244,7 @@ whiptail_storage_requirements() {
You need ${needed_val} to meet minimum requirements.
Visit https://docs.securityonion.net/en/2.4/hardware.html for more information.
Visit $DOC_BASE_URL/hardware.html for more information.
Select YES to continue anyway, or select NO to cancel.
EOM
@@ -460,7 +460,7 @@ whiptail_install_type() {
# What kind of install are we doing?
install_type=$(whiptail --title "$whiptail_title" --radiolist \
"What kind of installation would you like to do?\n\nFor more information, please see:\nhttps://docs.securityonion.net/en/2.4/architecture.html" 18 65 5 \
"What kind of installation would you like to do?\n\nFor more information, please see:\n$DOC_BASE_URL/architecture.html" 18 65 5 \
"EVAL" "Evaluation mode (not for production) " ON \
"STANDALONE" "Standalone production install " OFF \
"DISTRIBUTED" "Distributed install submenu " OFF \
@@ -508,7 +508,7 @@ whiptail_install_type_dist_new() {
read -r -d '' mngr_msg <<- EOM
Choose a distributed manager type to start a new grid.
See https://docs.securityonion.net/en/2.4/architecture.html for details.
See $DOC_BASE_URL/architecture.html for details.
Note: MANAGER is the recommended option for most users. MANAGERSEARCH should only be used in very specific situations.
EOM
@@ -528,7 +528,7 @@ whiptail_install_type_dist_existing() {
local node_msg
read -r -d '' node_msg <<- EOM
Choose a distributed node type to join to an existing grid. See https://docs.securityonion.net/en/2.4/architecture.html for details.
Choose a distributed node type to join to an existing grid. See $DOC_BASE_URL/architecture.html for details.
Note: Heavy nodes (HEAVYNODE) are NOT recommended for most users.
EOM
@@ -1298,7 +1298,7 @@ whiptail_storage_requirements() {
You need ${needed_val} to meet minimum requirements.
Visit https://docs.securityonion.net/en/2.4/hardware.html for more information.
Visit $DOC_BASE_URL/hardware.html for more information.
Select YES to continue anyway, or select NO to cancel.
EOM
@@ -1351,7 +1351,7 @@ whiptail_you_sure() {
Welcome to Security Onion Setup!
You can use Setup for several different use cases, from a small standalone installation to a large distributed deployment for your enterprise. You can learn more in the documentation at:
https://docs.securityonion.net/en/2.4/
$DOC_BASE_URL
Setup uses keyboard navigation and you can use arrow keys to move around. Certain screens may provide a list and ask you to select one or more items from that list. You can use the Space bar to select items and the Enter key to proceed to the next screen.