Skip to content

Commit

Permalink
fix lapi credentials creation for debian package
Browse files Browse the repository at this point in the history
  • Loading branch information
sabban committed Dec 7, 2023
1 parent 4acb4f8 commit 53584a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if [ "$1" = configure ]; then
db_get crowdsec/capi
CAPI=$RET

cscli machines add -a
[ -s /etc/crowdsec/local_api_credentials.yaml ] || cscli machines add -a --force

if [ "$CAPI" = true ]; then
cscli capi register
Expand Down

0 comments on commit 53584a8

Please sign in to comment.