diff --git a/init.sh b/init.sh index a3d27b8..2cbfb37 100755 --- a/init.sh +++ b/init.sh @@ -81,6 +81,16 @@ Architectures: $OS_ARCH " | tee /etc/apt/sources.list.d/azlux.sources curl -fsSL "https://azlux.fr/repo.gpg.key" | \ gpg --dearmor | tee /etc/apt/trusted.gpg.d/azlux-archive-keyring.gpg > /dev/null + + echo -e "Types: deb +URIs: https://packagecloud.io/crowdsec/crowdsec/debian/ +Suites: $OS_CODE +Components: main +Signed-By: /etc/apt/trusted.gpg.d/crowdsec-archive-keyring.gpg +Architectures: $OS_ARCH +" | tee /etc/apt/sources.list.d/crowdsec.sources + curl -fsSL "https://packagecloud.io/crowdsec/crowdsec/gpgkey" | \ + gpg --dearmor | tee /etc/apt/trusted.gpg.d/crowdsec-archive-keyring.gpg > /dev/null fi apt update