mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-24 08:53:27 +01:00
Pull in upstream changes
This commit is contained in:
@@ -816,34 +816,15 @@ whiptail_net_method() {
|
||||
)
|
||||
local proxy_desc="proxy the traffic for git, docker client, wget, curl, ${pkg_mngr}, and various other SO components through a separate server in your environment."
|
||||
|
||||
if [[ $is_minion ]]; then
|
||||
read -r -d '' options_msg <<- EOM
|
||||
read -r -d '' options_msg <<- EOM
|
||||
${options_msg}
|
||||
|
||||
"Direct + Manager" - all traffic passes to the Internet normally, but ${pkg_mngr} updates will instead be pulled from ${mngr_article} manager.
|
||||
|
||||
"Proxy" - ${proxy_desc}
|
||||
EOM
|
||||
options+=(
|
||||
" Proxy " ""
|
||||
)
|
||||
|
||||
"Proxy + Manager" - proxy all traffic from the "Proxy" option except ${pkg_mngr} updates, which will instead pull from the manager.
|
||||
EOM
|
||||
|
||||
options+=(
|
||||
" Direct + Manager " ""
|
||||
" Proxy " ""
|
||||
" Proxy + Manager " ""
|
||||
)
|
||||
local height=25
|
||||
else
|
||||
read -r -d '' options_msg <<- EOM
|
||||
${options_msg}
|
||||
|
||||
"Proxy" - ${proxy_desc}
|
||||
EOM
|
||||
options+=(
|
||||
" Proxy " ""
|
||||
)
|
||||
local height=17
|
||||
fi
|
||||
local height=17
|
||||
|
||||
local msg
|
||||
read -r -d '' msg <<- EOM
|
||||
@@ -1327,6 +1308,28 @@ whiptail_storage_requirements() {
|
||||
whiptail_check_exitstatus $exitstatus
|
||||
}
|
||||
|
||||
whiptail_ubuntu_notsupported() {
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
read -r -d '' message <<- EOM
|
||||
Ubuntu is not supported for this node type.
|
||||
|
||||
Please use a supported OS or install via ISO.
|
||||
EOM
|
||||
whiptail --title "$whiptail_title" --msgbox "$message" 14 75
|
||||
}
|
||||
|
||||
whiptail_ubuntu_warning() {
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
read -r -d '' message <<- EOM
|
||||
Ubuntu support for this node type is limited.
|
||||
|
||||
Please consider using a fully supported OS or install via ISO.
|
||||
EOM
|
||||
whiptail --title "$whiptail_title" --msgbox "$message" 14 75
|
||||
|
||||
}
|
||||
whiptail_uppercase_warning() {
|
||||
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
Reference in New Issue
Block a user