mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-07 03:06:40 +00:00
Add setup token printing after CrowdSec installation
Co-authored-by: oschwartz10612 <4999704+oschwartz10612@users.noreply.github.com>
This commit is contained in:
@@ -96,6 +96,10 @@ func installCrowdsec(config Config) error {
|
|||||||
fmt.Println(" docker exec crowdsec cscli bouncers add traefik-bouncer")
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user