Skip to content

Commit c3eb169

Browse files
committed
Use full binary path when invoking ip
Closes-bug: #2051111 Change-Id: I2a4df6121236379d88d0d7f2f7a888feab273003
1 parent 76d78b5 commit c3eb169

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docker/letsencrypt/letsencrypt-lego/letsencrypt-certificates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ if [ "${INTERNAL_SET}" = "true" ] || [ "${EXTERNAL_SET}" = "true" ]; then
171171
fi
172172

173173

174-
if ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then
174+
if /usr/sbin/ip a | egrep -q "${LETSENCRYPT_VIP_ADDRESSES}"; then
175175
log_info "[${FQDN} - cron] This Letsencrypt-lego host is active..."
176176
if [ "${LETSENCRYPT_INTERNAL_FQDNS}" != "" ]; then
177177
log_info "[${FQDN} - cron] Processing domains ${LETSENCRYPT_INTERNAL_FQDNS}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the issue with command not found within letsencrypt-lego container.
5+
`LP#2051111 <https://launchpad.net/bugs/2051111>`__

0 commit comments

Comments
 (0)