diff --git a/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh b/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh index 29fd42dc08..055e5879ab 100755 --- a/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh +++ b/docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh @@ -171,7 +171,7 @@ if [ "${INTERNAL_SET}" = "true" ] || [ "${EXTERNAL_SET}" = "true" ]; then fi - if ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then + if /usr/sbin/ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then log_info "[${FQDN} - cron] This Letsencrypt-lego host is active..." if [ "${LETSENCRYPT_INTERNAL_FQDNS}" != "" ]; then log_info "[${FQDN} - cron] Processing domains ${LETSENCRYPT_INTERNAL_FQDNS}" diff --git a/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml b/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml new file mode 100644 index 0000000000..4edccfcf18 --- /dev/null +++ b/releasenotes/notes/fix-letsencrypt-ip-command-not-found-3c455acaf743409e.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Fixes the issue with command not found within letsencrypt-lego container. + `LP#2051111 `__