Add setup token printing after CrowdSec installation

Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-06 20:38:40 +00:00
parent 1aa155a0af
commit d7311ad947

View File

@@ -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
}