William Wernert
d88364c9fd
[feat] Create error log for easy copy/paste
...
Resolves #2165
2020-12-07 14:18:01 -05:00
William Wernert
08ab36927d
[refactor] Kill parent script on exit
2020-12-07 14:16:54 -05:00
William Wernert
6fc3232637
[fix] Set INSTALLUSERNAME to the user running the script
...
Resolves #2243
2020-12-07 14:16:06 -05:00
William Wernert
4363b082bb
Merge branch 'dev' into feature/setup
2020-12-07 14:15:11 -05:00
William Wernert
38324c226e
[fix] Don't let grep output message on file not found
2020-12-07 10:58:58 -05:00
William Wernert
edc8ccd1b6
Merge branch 'feature/main-ip-validation' into feature/setup
2020-12-07 09:53:38 -05:00
William Wernert
3136c66780
[fix] Bring back network setup before setting MAINIP var
2020-12-07 08:50:53 -05:00
William Wernert
8a8885e14f
[feat] Verify that main ip = mngmt ip
...
* Add a check to check whether the src ip in the routing table is also the ip assigned to the management nic
2020-11-30 16:53:02 -05:00
William Wernert
8964444eeb
[fix] Correct count print in mysql_conn
2020-11-30 11:32:43 -05:00
William Wernert
ec81e8565f
[fix] Add safety logic to retry var in mysql_conn
2020-11-30 11:32:28 -05:00
William Wernert
040b435278
[refactor] Fail mysql_conn if the mainint has > 1 ip address
2020-11-30 11:10:50 -05:00
William Wernert
2e6be747d9
[fix] Fixes for quiet flag in so-ssh-harden
2020-11-20 11:18:40 -05:00
William Wernert
1a11c24f03
[fix] Add newline escapes to so-ssh-harden
2020-11-20 11:13:40 -05:00
William Wernert
d15064b294
Merge branch 'dev' into bugfix/bug-hunt
2020-11-20 10:15:52 -05:00
William Wernert
9d837f7b45
[fix] Reload sshd if config changes are made
...
Fixes #1976
2020-11-20 10:09:14 -05:00
William Wernert
e62b52da1b
[fix] Add condition to zeek state during setup for ZEEKVERSION
...
Fixes #1990
2020-11-20 09:58:07 -05:00
William Wernert
79ec1de83a
[fix] Add exit check for static ip whiptail menus
...
Fixes #1992
2020-11-20 09:56:48 -05:00
William Wernert
ac3b5e4f1b
[fix] Remove echo redirect at beginning of install
2020-11-19 09:48:56 -05:00
William Wernert
1c55bb6db2
[fix] Only backup /nsm/mysql and /nsm/wazuh
2020-11-18 15:34:40 -05:00
William Wernert
80d0080f70
[fix] Only set is_reinstall if it's needed
2020-11-18 14:47:53 -05:00
William Wernert
8b6b7cbd11
[fix] Check if $is_reinstall is true
2020-11-18 14:46:22 -05:00
William Wernert
e65c53dbb1
[fix] Don't rename /nsm/docker-registry
2020-11-18 14:01:33 -05:00
William Wernert
280cde43ff
[fix] install_type -> setup_type
2020-11-18 13:51:55 -05:00
William Wernert
81b9658499
[fix] Don't remove accept_changes file
2020-11-18 13:51:55 -05:00
William Wernert
34fd80182e
[fix][wip] Don't use variable for accept_changes file
2020-11-18 12:54:36 -05:00
William Wernert
0542e0aa04
[fix] info -> title
2020-11-18 12:35:16 -05:00
William Wernert
ad74b4b3e0
[refactor][fix] Update reinstall logic
...
* Only set reinstall flag if new accept_changes file exists
* Instead of stopping highstate from running, kill all salt processes and remove their configs
* Make end of non-reinstall logs clear in cases where user cancels (and log not rotated)
2020-11-18 12:29:54 -05:00
William Wernert
8a4defcffa
[refactor] Check for setup log earlier
...
* Check for sosetuo.log before any scripts besides so-variables are sourced to make sure the log hasn't been created yet.
2020-11-18 11:16:36 -05:00
William Wernert
ee3708a428
[fix] Move sudoers check in soup to correct place + fix styling issue
2020-11-17 15:44:20 -05:00
William Wernert
b146700303
[feat] Remove so-setup permission from sudoers file after iso setup
...
Closes #1701
2020-11-17 15:36:25 -05:00
William Wernert
79b63ed14b
[fix] Use singular when needed for requirements
2020-11-17 09:47:08 -05:00
William Wernert
a08923030b
[feat] Exit setup if less than required number of NICs present
2020-11-16 16:26:38 -05:00
William Wernert
9218121a23
[fix] checksum-offload-disable syntax errors
2020-02-08 12:35:52 -05:00
William Wernert
2b20d009e1
Fixed cyberchef container image version error.
...
Cyberchef container image v1.1.4 has not been built yet, revert to 1.1.3 for now
2019-12-19 17:04:23 -05:00