William Wernert
0250bf026a
[fix] Redirect command outputs within saltify and docker_install
2020-04-22 13:12:12 -04:00
William Wernert
739989473d
[fix] Provide feedback when first running script, and execute whiptail commands
2020-04-20 15:41:01 -04:00
William Wernert
12e87d119b
[fix] Reference correct variable when checking for setup type
2020-04-20 15:30:30 -04:00
Josh Patterson
9f1a4ddf9b
Update so-functions
2020-04-18 19:15:55 -04:00
William Wernert
c76ce035a6
[refactor][WIP] Initial main setup script refactor
...
Untested, probably broken
2020-04-18 19:11:16 -04:00
William Wernert
ceb46c4eca
[fix] Revert variable rename (HNSENSOR, HNMASTER)
2020-04-18 19:10:37 -04:00
William Wernert
ae9a7a4b55
[fix] Variable renames
2020-04-18 19:10:37 -04:00
William Wernert
b27efec2ef
[refactor][WIP] Add functions for setup refactor
2020-04-18 19:10:37 -04:00
William Wernert
c851ff449b
[fix] Redirect all needed commands to setup log
2020-04-18 19:10:36 -04:00
William Wernert
2e0e5c0014
[fix] Correct progress string logic
2020-04-18 19:10:36 -04:00
William Wernert
6ec2a24cbe
[refactor] Remove redundant function docs
2020-04-18 19:10:35 -04:00
William Wernert
ef2bc3bfad
[refactor][WIP] Delete so-contstants
2020-04-18 19:10:35 -04:00
William Wernert
3ef3c157f3
[refactor][WIP] Setup changes part 6
2020-04-18 19:10:33 -04:00
Mike Reeves
ea6d78b294
Download Strlka Dockers
2020-04-18 19:04:23 -04:00
William Wernert
2ca8d4ed9e
[fix] Add correct PATH location in so-setup
2020-04-18 19:03:05 -04:00
Mike Reeves
4c837c7d15
Apply yum fixes once changes are opk
2020-04-18 19:02:46 -04:00
Josh Brower
4475ebfaa8
Fleet package fixes
2020-04-18 18:59:20 -04:00
m0duspwnens
cca408e2d8
change log_size_limit logic - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/551
2020-04-18 18:58:24 -04:00
m0duspwnens
308ef0fc30
move salt logs to /opt/so/logs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/530
2020-04-18 18:56:32 -04:00
William Wernert
48549cdd83
[fix] NetworkManager dir should not be string
2020-04-18 18:54:41 -04:00
William Wernert
35b5dfd83e
[refactor] Move functions used by multiple scripts to separate file
2020-04-18 18:51:58 -04:00
William Wernert
5c3a56a289
[refactor] Start using lower case for variables
2020-04-18 18:50:13 -04:00
William Wernert
ce59019967
[refactor] Move variables to their own file
2020-04-18 18:41:19 -04:00
William Wernert
63fd274106
[Fix] Remove mysql salt dep function calls from so-setup
2020-04-18 18:38:24 -04:00
William Wernert
1ac29c6fbe
[refactor] Formatting change to calculate_useable_cores
2020-04-18 18:37:43 -04:00
William Wernert
912fb6d583
[refactor] Generic wait_for_file function
2020-04-18 18:36:52 -04:00
William Wernert
74375fe839
[refactor] More case statements. local vars, and double quoted strings
2020-04-18 18:36:12 -04:00
William Wernert
a7539c111e
[refactor] Remove duplicate code in set_hostname
2020-04-18 18:34:04 -04:00
William Wernert
6e4a6ccfeb
[refactor] Initial saltify function refactor
2020-04-18 18:32:44 -04:00
William Wernert
b57b1b6689
[refactor] Start using case statements and local vars
2020-04-18 18:29:57 -04:00
William Wernert
f801cbe376
[refactor] Use 0/1 for MASTERUPDATES variable
2020-04-18 18:28:02 -04:00
William Wernert
043f2df7e3
[refactor] Set enabled components in whiptail function
2020-04-18 18:26:27 -04:00
William Wernert
6ca5827ce6
[refactor] Use = instead of ==, more printf changes
2020-04-18 18:23:27 -04:00
William Wernert
076f161c35
[refactor][fix] Cleanup docker_install
2020-04-18 18:19:27 -04:00
William Wernert
2ab1fa75ee
[refactor] Rearrange docker_registry seed
2020-04-18 18:18:41 -04:00
William Wernert
a4267fd28b
[refactor] Use printf instead of echo to create multiline files
2020-04-18 18:18:08 -04:00
William Wernert
723d8f6f3f
[fix] Fix various code formatting issues
2020-04-18 18:17:28 -04:00
William Wernert
b009c2677b
[refactor] Generic user create and check password functions
2020-04-18 18:16:11 -04:00
William Wernert
9331ede408
[fix] Double quote variables, fix indents, remove useless cats
2020-04-18 18:14:55 -04:00
William Wernert
ef550fed2b
[fix] Networking fixes
2020-04-18 18:10:32 -04:00
Mike Reeves
e1bd8c6d51
Filter out KVM kits so cpu count is correct
2020-04-18 18:09:37 -04:00
William Wernert
6d3bc4ec1d
[refactor] grep file instead of piping cat to grep
2020-04-18 18:08:33 -04:00
William Wernert
789173be98
[refactor] Move collect_webuser_inputs to so-functions
2020-04-18 18:07:50 -04:00
William Wernert
586d231ab1
[refactor] Copy public keys instead of using HEREDOC
2020-04-18 18:07:11 -04:00
William Wernert
2127924066
[fix] Double quote variables + fix indents
2020-04-18 18:06:30 -04:00
William Wernert
56326026b7
[refactor] Add variable to whiptail functions for quiet install
...
This is an initial change to allow for automated installs and testing.
The variable `QUIET` is checked in all whiptail functions and they are
skipped if the variable is set.
Closes #526
2020-04-07 15:24:36 -04:00
Jason Ertel
b7545c8dc5
Improve default SKIP_BOND behavior
2020-04-03 14:59:09 -04:00
Jason Ertel
b57892e806
Remove debug line
2020-04-03 14:50:07 -04:00
Jason Ertel
99e8226ae5
Validate email and password for the webuser during install
2020-04-03 12:04:42 -04:00
Wes Lambert
b22a3a6534
install Strelka for sensor
2020-04-03 01:36:00 +00:00