add --force to keep with the legacy behavior
This commit is contained in:
parent
b59fb8ef43
commit
185c1ca600
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue