From 185c1ca6005c18b64c900d24d62f14e6e61af86f Mon Sep 17 00:00:00 2001 From: sabban Date: Fri, 8 Dec 2023 10:59:58 +0100 Subject: [PATCH] add --force to keep with the legacy behavior --- rpm/SPECS/crowdsec.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm/SPECS/crowdsec.spec b/rpm/SPECS/crowdsec.spec index 2cb2240e2..06a721aba 100644 --- a/rpm/SPECS/crowdsec.spec +++ b/rpm/SPECS/crowdsec.spec @@ -171,7 +171,7 @@ if [ $1 == 1 ]; then cscli capi register fi if [ ! -f "%{_sysconfdir}/crowdsec/local_api_credentials.yaml" ] ; then - cscli machines add -a + cscli machines add -a --force fi cscli hub update