mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update whiptail menu for docker question
This commit is contained in:
@@ -462,8 +462,7 @@ whiptail_dockernet_check(){
|
|||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
whiptail --title "Security Onion Setup" --yesno \
|
whiptail --title "Security Onion Setup" --yesno \
|
||||||
"Do you want to keep the default Docker IP range? \n\
|
"Do you want to keep the default Docker IP range? \n(Choose yes if you don't know what this means)" 8 75
|
||||||
(Choose yes if you don't know what this means)" 8 75
|
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
|
|
||||||
@@ -477,9 +476,7 @@ whiptail_dockernet_net() {
|
|||||||
[ -n "$TESTING" ] && return
|
[ -n "$TESTING" ] && return
|
||||||
|
|
||||||
DOCKERNET=$(whiptail --title "Security Onion Setup" --inputbox \
|
DOCKERNET=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"\nEnter a /24 network range for docker to use: \n\
|
"\nEnter a /24 network range for docker to use: \nThe same range MUST be used on ALL nodes \n(Default value is pre-populated.)" 10 75 172.17.0.0 3>&1 1>&2 2>&3)
|
||||||
The same range MUST be used on ALL node\n\
|
|
||||||
(Default value is pre-populated.)" 10 75 172.17.0.0 3>&1 1>&2 2>&3)
|
|
||||||
|
|
||||||
local exitstatus=$?
|
local exitstatus=$?
|
||||||
whiptail_check_exitstatus $exitstatus
|
whiptail_check_exitstatus $exitstatus
|
||||||
|
|||||||
Reference in New Issue
Block a user