Add ability for BroControl to skip cluster setup

It does this by setting the BROCTL_CHECK_CONFIG env. variable.
Related to BIT-1938.
This commit is contained in:
Jon Siwek 2018-06-21 11:55:39 -05:00
parent 66ee376411
commit 8ee92c70da
4 changed files with 13 additions and 2 deletions

View file

@ -44,6 +44,9 @@ function connect_peers_with_type(node_type: NodeType)
event bro_init() &priority=-10
{
if ( getenv("BROCTL_CHECK_CONFIG") != "" )
return;
local self = nodes[node];
for ( i in registered_pools )