Merge "Use full binary path when invoking ip"

This commit is contained in:
Zuul 2024-01-31 13:27:20 +00:00 committed by Gerrit Code Review
commit d7a03105bf
2 changed files with 6 additions and 1 deletions

View File

@ -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}"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes the issue with command not found within letsencrypt-lego container.
`LP#2051111 <https://launchpad.net/bugs/2051111>`__