mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup Script - Issue 91
This commit is contained in:
@@ -1318,7 +1318,7 @@ whiptail_management_server() {
|
||||
# See if it resolves. Otherwise prompt to add to host file
|
||||
TESTHOST=$(host $MSRV)
|
||||
|
||||
if [[ $TESTHOST = *"not found"* ]]; then
|
||||
if [[ $TESTHOST = *"not found"* ]] || [[ $TESTHOST = *"connection timed out"* ]]; then
|
||||
add_master_hostfile
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user