mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-22 20:51:56 +02:00
[fix] Set MSRVIP variable before hosts file is overwritten
This commit is contained in:
@@ -791,6 +791,8 @@ whiptail_management_server() {
|
||||
|
||||
if ! getent hosts "$MSRV"; then
|
||||
add_manager_hostfile
|
||||
else
|
||||
MSRVIP=$(getent hosts "$MSRV" | awk 'NR==1{print $1}')
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user