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