optimized echo
Some checks failed
build container icinga2-stallite / build (push) Failing after 2m29s

This commit is contained in:
2025-02-02 17:55:38 +01:00
parent f0fab7810e
commit 5c0d384614

View File

@@ -8,7 +8,7 @@ if [ -z "$(ls -A /data)" ]; then
rm -rf /data-init
## create satellite cert
if [ ! -z "$ICINGA2_SATELLITE_CN" ]; then
echo generate new cert
echo generate new cert for node: $ICINGA2_SATELLITE_CN
icinga2 pki new-cert --cn $ICINGA2_SATELLITE_CN \
--key /var/lib/icinga2/certs/$ICINGA2_SATELLITE_CN.key \
--cert /var/lib/icinga2/certs/$ICINGA2_SATELLITE_CN.crt