William Wernert
b024dae72e
[fix] Don't call set_main_ip a second time
2021-02-25 15:19:28 -05:00
Mike Reeves
2c8bc16c8f
Remove some nmcli business
2021-02-25 13:43:02 -05:00
Mike Reeves
37c13362df
Netowrk Manager needs to chill
2021-02-25 13:20:29 -05:00
William Wernert
4a6ad7c87e
Set MAINIP to MNIC_IP when using a VPN
2021-02-24 16:31:45 -05:00
Mike Reeves
b30f964974
Moving the wildcard
2021-02-24 16:09:37 -05:00
Mike Reeves
262bf03595
Testing capitals
2021-02-24 16:04:53 -05:00
Mike Reeves
ae17a3aeb8
Fix Syntax try 3
2021-02-24 16:02:36 -05:00
Mike Reeves
ab66f175c5
Fix Syntax
2021-02-24 16:01:18 -05:00
Mike Reeves
8f3ba7633c
Fix Syntax
2021-02-24 15:57:18 -05:00
Mike Reeves
5949119cb5
Bypass route check
2021-02-24 15:53:55 -05:00
Mike Reeves
6058400aad
Bypass route check
2021-02-24 15:52:50 -05:00
Mike Reeves
bdfec5176d
Dont disable unused interfaces during setup
2021-02-24 13:22:06 -05:00
William Wernert
25698dafe3
Add initial pre-flight check script
2021-02-23 13:25:54 -05:00
William Wernert
f2a1e89633
Merge branch 'dev' into feature/so-rules
2021-02-22 10:03:14 -05:00
Jason Ertel
9302b9302b
Clear salt fileserver cache to ensure the new local.rules file gets picked up on the filesync
2021-02-19 11:13:31 -05:00
William Wernert
9183c0a92c
[feat] Initial so-rules script
...
* Quote curly braces in minion pillar, need to add sed function in soup
2021-02-19 09:24:12 -05:00
Josh Patterson
ce313d8dc4
Merge pull request #2992 from Security-Onion-Solutions/issue/2737
...
fix logic for log_size_limit
2021-02-17 10:09:54 -05:00
William Wernert
cda36f178b
Merge pull request #2979 from Security-Onion-Solutions/foxtrot
...
Setup fixes/improvements
2021-02-16 17:14:59 -05:00
m0duspwnens
996bf0768b
fix logic for log_size_limit https://github.com/Security-Onion-Solutions/securityonion/issues/2737
2021-02-16 15:40:01 -05:00
William Wernert
0bd5ddf6a6
Grammar + misc fixes per PR review
...
* Remove unnecessary `apt-get update` commands
* Change `if ! (command); then exit 1; fi` to `command || exit 1` to avoid subshell
2021-02-16 14:17:41 -05:00
William Wernert
3323e900ef
[fix] Fix indent (pt 2)
2021-02-16 11:17:36 -05:00
William Wernert
7a9f801eb1
[fix] Add more apt-get update commands
...
Fixes #2962
2021-02-16 10:24:58 -05:00
William Wernert
38a5b86813
Make apt-get syntax consistent
2021-02-16 10:24:07 -05:00
William Wernert
5e8d09be51
[fix] Fix indent
2021-02-16 09:42:35 -05:00
William Wernert
724f5cad78
Warn user if using "securityonion" as hostname
2021-02-12 12:55:55 -05:00
William Wernert
188d844d27
Redirect stderr of minion grep to /dev/null
2021-02-11 13:49:39 -05:00
William Wernert
ce8db8abdb
[fix] Only run salt commands during reinstall if master is configured
2021-02-11 10:51:04 -05:00
Mike Reeves
f8903c2554
Fix extra character
2021-02-10 12:58:02 -05:00
Mike Reeves
9eb1e6a448
Prevent the tun interface from being disabled
2021-02-10 12:51:26 -05:00
William Wernert
daebe90b6e
[fix] fix retry command handling
...
* use eval "$cmd" to handle strings correctly
* add-apt-repo doesn't need dpkg lock so don't use retry for those lines
2021-02-01 12:06:19 -05:00
William Wernert
02f0ef989b
[fix] <cmd> || <fail_reactor>; exit 1 will always exit, fix this
2021-02-01 11:11:01 -05:00
William Wernert
36ce389202
Remove wait_for_apt, use common retry function to run apt commands
2021-02-01 10:55:14 -05:00
William Wernert
7b2ec05dbf
[fix] Add missing fi
2021-01-25 19:57:34 -05:00
Mike Reeves
3b1cea94d1
Merge branch 'dev' into telegraf3
2021-01-25 19:36:49 -05:00
Mike Reeves
4ef38f8d04
Add EPS and RAID status collection for telegraf
2021-01-25 19:14:46 -05:00
m0duspwnens
50345628f0
Merge remote-tracking branch 'remotes/origin/dev' into automation/ssh_prompts
2021-01-25 13:48:08 -05:00
m0duspwnens
7dcca6f364
change when we detect os and wait_for_apt when installing sshpass
2021-01-25 13:47:51 -05:00
Mike Reeves
2e32b53158
Fix function for appliances
2021-01-25 13:20:46 -05:00
Mike Reeves
b4c8b439a0
Detect if this is an SOS appliance
2021-01-24 12:02:34 -05:00
Mike Reeves
85e2a14f1e
Put functions in correct order
2021-01-24 11:52:45 -05:00
William Wernert
8023e79020
[fix] Don't remove answer file when checking version on manager, file does not yet exist
2021-01-19 11:28:33 -05:00
William Wernert
650008e1e6
[fix] Replace leftover /root/install_opt strings with variable
2021-01-19 11:20:53 -05:00
William Wernert
32839f8a53
[feat] Various input validation changes + fixes
...
* Keep invalid input in subsequent prompts
* Remove useless placeholder values
* Only set PROCS variable once
* Make input collection loops more consistent
2021-01-15 18:05:29 -05:00
William Wernert
8cb836a17a
[fix] Don't preset HOSTNAME var, interferes with automation
2021-01-15 16:22:07 -05:00
William Wernert
e440f6c44a
[fix] Set variables used by sensor pillar before generating the pillar
2021-01-15 10:29:51 -05:00
William Wernert
ed129bcf1f
[fix] Add verbose flag so that so-monitor-add only sees necessary information
2021-01-15 09:25:04 -05:00
William Wernert
f4de5e28bf
[fix] Padding 3->4 spaces, don't use lookup_pillar before salt is installed
2021-01-15 08:57:14 -05:00
William Wernert
0f6805823e
[fix] Add spacing to whiptail menu + preset err
2021-01-15 08:35:37 -05:00
William Wernert
df07cc578c
[fix] Only update err if return code is non-zero
2021-01-14 13:20:56 -05:00
William Wernert
2e23e0d690
[fix] Only update err if return code is non-zero
2021-01-14 13:20:29 -05:00