mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Remove testing default values, change wording, set default option to no
This commit is contained in:
@@ -1846,21 +1846,19 @@ whiptail_suricata_pins() {
|
|||||||
|
|
||||||
# shellcheck disable=2120
|
# shellcheck disable=2120
|
||||||
whiptail_uppercase_warning() {
|
whiptail_uppercase_warning() {
|
||||||
local type=${1:-hostname}
|
local type=$1
|
||||||
|
|
||||||
local HOSTNAME='TestHostname'
|
|
||||||
local REDIRECTIT='my.TestDomain.com'
|
|
||||||
|
|
||||||
local msg
|
local msg
|
||||||
if [[ $type == 'hostname' ]]; then
|
if [[ -z $type ]]; then
|
||||||
|
type="hostname"
|
||||||
read -r -d '' msg <<- EOM
|
read -r -d '' msg <<- EOM
|
||||||
The value "$HOSTNAME" contains non-lowercase characters.
|
The value "$HOSTNAME" contains uppercase characters.
|
||||||
|
|
||||||
Continuing with this hostname could render the system unusable in certain cases, and will also disable the option later in setup to access Security Onion's web interface via the hostname.
|
Continuing with this hostname could render the system unusable in certain cases, and will also disable the option later in setup to access Security Onion's web interface via the hostname.
|
||||||
EOM
|
EOM
|
||||||
else
|
else
|
||||||
read -r -d '' msg <<- EOM
|
read -r -d '' msg <<- EOM
|
||||||
The value "$REDIRECTIT" contains non-lowercase characters.
|
The value "$REDIRECTHOST" contains uppercase characters.
|
||||||
|
|
||||||
Continuing with this value could render the system unusable in certain cases.
|
Continuing with this value could render the system unusable in certain cases.
|
||||||
EOM
|
EOM
|
||||||
@@ -1872,7 +1870,7 @@ whiptail_uppercase_warning() {
|
|||||||
For best results, it is recommended to only use lowercase ${type}s with Security Onion. For more information see https://docs.securityonion.com/uppercase (URL TBD)
|
For best results, it is recommended to only use lowercase ${type}s with Security Onion. For more information see https://docs.securityonion.com/uppercase (URL TBD)
|
||||||
EOM
|
EOM
|
||||||
|
|
||||||
whiptail --title "$whiptail_title" --yesno "$msg" --yes-button "Continue anyway" --no-button "Go back" 16 75
|
whiptail --title "$whiptail_title" --yesno "$msg" --yes-button "Continue anyway" --no-button "Go back" --defaultno 16 75
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_you_sure() {
|
whiptail_you_sure() {
|
||||||
|
|||||||
Reference in New Issue
Block a user