mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Fix reinstall logic
This commit is contained in:
@@ -79,18 +79,6 @@ export ntp_string
|
||||
whiptail_title="Security Onion Setup - $SOVERSION"
|
||||
export whiptail_title
|
||||
|
||||
mkdir -p $local_salt_dir/pillar/minions
|
||||
mkdir -p $local_salt_dir/salt/firewall/hostgroups
|
||||
mkdir -p $local_salt_dir/salt/firewall/portgroups
|
||||
mkdir -p $local_salt_dir/salt/firewall/ports
|
||||
|
||||
for THEDIR in bpf pcap elasticsearch ntp firewall redis backup influxdb strelka sensoroni curator soc soctopus docker zeek suricata nginx telegraf filebeat logstash soc manager kratos idstools idh elastalert
|
||||
do
|
||||
mkdir -p $local_salt_dir/pillar/$THEDIR
|
||||
touch $local_salt_dir/pillar/$THEDIR/adv_$THEDIR.sls
|
||||
touch $local_salt_dir/pillar/$THEDIR/soc_$THEDIR.sls
|
||||
done
|
||||
|
||||
global_pillar_file="$local_salt_dir/pillar/soc_global.sls"
|
||||
export global_pillar_file
|
||||
|
||||
|
||||
Reference in New Issue
Block a user