mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-18 06:52:56 +01:00
@@ -697,6 +697,8 @@ whiptail_management_interface_dns() {
|
|||||||
MDNS=$(whiptail --title "Security Onion Setup" --inputbox \
|
MDNS=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter your DNS servers separated by a space:" 10 60 8.8.8.8 8.8.4.4 3>&1 1>&2 2>&3)
|
"Enter your DNS servers separated by a space:" 10 60 8.8.8.8 8.8.4.4 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_management_interface_dns_search() {
|
whiptail_management_interface_dns_search() {
|
||||||
@@ -706,6 +708,8 @@ whiptail_management_interface_dns_search() {
|
|||||||
MSEARCH=$(whiptail --title "Security Onion Setup" --inputbox \
|
MSEARCH=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter your DNS search domain:" 10 60 searchdomain.local 3>&1 1>&2 2>&3)
|
"Enter your DNS search domain:" 10 60 searchdomain.local 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_management_interface_gateway() {
|
whiptail_management_interface_gateway() {
|
||||||
@@ -715,6 +719,8 @@ whiptail_management_interface_gateway() {
|
|||||||
MGATEWAY=$(whiptail --title "Security Onion Setup" --inputbox \
|
MGATEWAY=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter your gateway:" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
"Enter your gateway:" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_management_interface_ip() {
|
whiptail_management_interface_ip() {
|
||||||
@@ -724,6 +730,8 @@ whiptail_management_interface_ip() {
|
|||||||
MIP=$(whiptail --title "Security Onion Setup" --inputbox \
|
MIP=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter your IP address:" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
"Enter your IP address:" 10 60 X.X.X.X 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_management_interface_mask() {
|
whiptail_management_interface_mask() {
|
||||||
@@ -733,6 +741,8 @@ whiptail_management_interface_mask() {
|
|||||||
MMASK=$(whiptail --title "Security Onion Setup" --inputbox \
|
MMASK=$(whiptail --title "Security Onion Setup" --inputbox \
|
||||||
"Enter the bit mask for your subnet:" 10 60 24 3>&1 1>&2 2>&3)
|
"Enter the bit mask for your subnet:" 10 60 24 3>&1 1>&2 2>&3)
|
||||||
|
|
||||||
|
local exitstatus=$?
|
||||||
|
whiptail_check_exitstatus $exitstatus
|
||||||
}
|
}
|
||||||
|
|
||||||
whiptail_management_nic() {
|
whiptail_management_nic() {
|
||||||
|
|||||||
Reference in New Issue
Block a user