mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Setup - Fix Hostname Race Condition
This commit is contained in:
@@ -153,6 +153,8 @@ if (whiptail_you_sure) ; then
|
||||
RULESETUP=ETOPEN
|
||||
whiptail_make_changes
|
||||
set_hostname
|
||||
HOSTNAME=$(cat /etc/hostname)
|
||||
MINION_ID=$(echo $HOSTNAME | awk -F. {'print $1'})
|
||||
clear_master
|
||||
mkdir -p /nsm
|
||||
get_filesystem_root
|
||||
|
||||
Reference in New Issue
Block a user