From bb60d29ac87c660dd1698b5101bee98d646c49a1 Mon Sep 17 00:00:00 2001 From: "Thibault \"bui\" Koechlin" Date: Tue, 16 Jun 2020 17:59:09 +0200 Subject: [PATCH] register api as well in --bininstall (#77) --- wizard.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wizard.sh b/wizard.sh index 61494f642..7edf5e4a0 100755 --- a/wizard.sh +++ b/wizard.sh @@ -415,6 +415,9 @@ main() { fi log_info "installing crowdsec" install_crowdsec + # api register + ${CSCLI_BIN_INSTALLED} api register >> /etc/crowdsec/config/api.yaml || ${CSCLI_BIN_INSTALLED} api reset >> /etc/crowdsec/config/api.yaml || log_err "unable to register, skipping crowdsec api registration" + log_info "Crowdsec api registered" return fi