William Wernert
1e7aaf9ffb
Collect manager info before showing message about copying ssh key
2021-03-16 12:32:37 -04:00
William Wernert
59c62393b5
Change back to validating proxy, show user error message from curl
2021-03-16 10:18:02 -04:00
William Wernert
086f2b3437
Change when prereq packages are installed to follow new order
2021-03-15 14:59:24 -04:00
William Wernert
efc0463201
Change when proxy + variables are set so strings are built correctly
2021-03-15 14:45:23 -04:00
William Wernert
6ae3a26cbe
Revert all proxy changes on reinstall
2021-03-15 12:34:13 -04:00
William Wernert
f80dfda60b
Only run initial installer progress to 98 to avoid sitting at 100
2021-03-12 11:39:44 -05:00
William Wernert
6842204981
Ask for hostname earlier in setup
2021-03-11 16:55:06 -05:00
William Wernert
6d431c0bda
Add more info to comment
2021-03-11 16:36:56 -05:00
William Wernert
b14b9e8e17
[fix] Fix dependency install progress bar
2021-03-11 16:34:54 -05:00
William Wernert
b35e65190e
[fix] Fix dependency install progress bar
2021-03-11 16:30:14 -05:00
William Wernert
8e8bb1489b
Redirect output of kill command
2021-03-11 16:13:52 -05:00
William Wernert
e2fc1b0b39
Redirect output of kill command
2021-03-11 16:06:49 -05:00
William Wernert
3306ffa792
Only collect proxy once, include manager in no_proxy value on minions
2021-03-11 16:03:43 -05:00
William Wernert
a86b2ab653
[fix] Remove additional collect_proxy call
2021-03-11 15:54:46 -05:00
William Wernert
66da3e380f
[fix] Set percentage value when needed
2021-03-11 15:25:38 -05:00
William Wernert
e60bc87ffa
Install setup required packages later so that also uses the proxy
2021-03-11 15:20:39 -05:00
William Wernert
ca2766511b
Revert "[wip] Change when proxy is set up so main ip is known"
...
This reverts commit 1ea3cb1c61 .
# Conflicts:
# setup/so-functions
2021-03-08 09:02:53 -05:00
William Wernert
32e7afdc5f
Merge branch 'feature/setup' into foxtrot
2021-03-05 12:53:31 -05:00
Jason Ertel
61a7efeeab
fix: syntax error in reserved ports configuration; ensure ports are reserved prior to setup
2021-03-05 10:54:01 -05:00
William Wernert
4339ded17f
[wip][fix] Don't add logic to so-setup, create wrapper function in so-functions
2021-03-04 12:10:14 -05:00
William Wernert
d19ca943cc
[fix][wip] Only setup proxy early on configure network setup
2021-03-04 11:57:16 -05:00
William Wernert
13dc822197
[wip] Ask user if they want to re-enter the proxy
2021-03-04 11:53:08 -05:00
William Wernert
3d5cf128ae
[wip] Test proxy before using it
2021-03-03 15:02:21 -05:00
William Wernert
1ea3cb1c61
[wip] Change when proxy is set up so main ip is known
...
* Also only restart docker if the command exists (i.e. docker is installed)
2021-03-03 14:20:26 -05:00
William Wernert
fd877a2256
Fix logic for configure network option in setup
2021-02-26 15:40:20 -05:00
Jason Ertel
7222f1faa5
fix merge issue
2021-02-20 16:41:12 -05:00
Mike Reeves
b4b449aa14
Pull in Suricata changes
2021-02-19 11:01:15 -05:00
Jason Ertel
e912b2fd96
Move idstools to run after nginx runs
2021-02-18 12:50:00 -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
7a9f801eb1
[fix] Add more apt-get update commands
...
Fixes #2962
2021-02-16 10:24:58 -05:00
William Wernert
23221065eb
Preset MANAGERUPDATES var for airgap since we don't prompt now
2021-02-16 09:43:54 -05:00
William Wernert
8323f3f57a
[fix] Fix logic to correctly hide prompt
2021-02-12 12:23:45 -05:00
William Wernert
d9b4c09cf0
[fix] Don't show irrelevant prompts during airgap setup
2021-02-11 10:52:18 -05:00
William Wernert
46581c0528
[fix] Don't use ZEEKVERSION var, check pillar value
2021-02-02 12:45:56 -05:00
William Wernert
2253603544
[fix] Don't try to inherit home net on standalone
2021-02-02 12:11:47 -05:00
William Wernert
8f476bbbdd
[fix] Add back removed if statement
2021-02-01 13:11:51 -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
edfd985353
Merge branch 'bugfix/zeek-prompts' into foxtrot
2021-01-29 16:04:56 -05:00
William Wernert
7a3c7322fc
[fix] Only check for ZEEKVERSION on manager installs
2021-01-29 15:36:50 -05:00
Jason Ertel
c055427e40
Add support for image key/sig retries
2021-01-29 11:18:06 -05:00
Jason Ertel
194f480017
Airgap fix for import nodes missing rules
2021-01-28 13:03:47 -05:00
m0duspwnens
ffd01d6975
fix if statement for isntalling sshpass
2021-01-26 09:49:19 -05:00
m0duspwnens
7dcca6f364
change when we detect os and wait_for_apt when installing sshpass
2021-01-25 13:47:51 -05:00
m0duspwnens
e1f7c090f3
detect os and cloud sooner
2021-01-25 10:25:41 -05:00
Mike Reeves
b4c8b439a0
Detect if this is an SOS appliance
2021-01-24 12:02:34 -05:00
William Wernert
650008e1e6
[fix] Replace leftover /root/install_opt strings with variable
2021-01-19 11:20:53 -05:00
Jason Ertel
a795f0a487
Correct airgap IPs; Remove auto tcpreplay during post-setup phase
2021-01-16 12:01:49 -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
e440f6c44a
[fix] Set variables used by sensor pillar before generating the pillar
2021-01-15 10:29:51 -05:00
William Wernert
0db439df1e
Merge branch 'dev' into feature/setup
2021-01-14 13:06:32 -05:00