From d7311ad947d954aa61c04814edb126ccddf091a7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 6 Dec 2025 20:38:40 +0000 Subject: [PATCH] Add setup token printing after CrowdSec installation Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com> --- install/crowdsec.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install/crowdsec.go b/install/crowdsec.go index 2e388e92..b408b3a0 100644 --- a/install/crowdsec.go +++ b/install/crowdsec.go @@ -96,6 +96,10 @@ func installCrowdsec(config Config) error { fmt.Println(" docker exec crowdsec cscli bouncers add traefik-bouncer") } + // Print the setup token after CrowdSec installation and container restart + fmt.Println("\n=== Setup Token ===") + printSetupToken(config.InstallationContainerType, config.DashboardDomain) + return nil }