mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Merge branch 'dev' into feature/espillarz
This commit is contained in:
@@ -838,18 +838,6 @@ firewall_generate_templates() {
|
||||
|
||||
}
|
||||
|
||||
fleet_pillar() {
|
||||
|
||||
local pillar_file="$temp_install_dir"/pillar/minions/"$MINION_ID".sls
|
||||
|
||||
# Create the fleet pillar
|
||||
printf '%s\n'\
|
||||
"fleet:"\
|
||||
" mainip: $MAINIP"\
|
||||
" master: $MSRV"\
|
||||
"" > "$pillar_file"
|
||||
}
|
||||
|
||||
generate_passwords(){
|
||||
# Generate Random Passwords for Things
|
||||
MYSQLPASS=$(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 20 | head -n 1)
|
||||
|
||||
@@ -367,14 +367,14 @@ fi
|
||||
|
||||
set_main_ip >> $setup_log 2>&1
|
||||
|
||||
host_pillar >> $setup_log 2>&1
|
||||
|
||||
if [[ $is_minion ]]; then
|
||||
set_updates >> $setup_log 2>&1
|
||||
copy_ssh_key >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
if [[ "$OSQUERY" = 1 ]]; then
|
||||
host_pillar >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
|
||||
# Begin install
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user