diff --git a/init.sh b/init.sh index 0f7c6ea..6140bb2 100644 --- a/init.sh +++ b/init.sh @@ -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