diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 23:36:25 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 23:43:18 +0200 |
| commit | 71ced50b69cb34c4fad19afd4e8540fa270274f1 (patch) | |
| tree | 18053a52da3d7dd92ddeed44c55c21d91c0e0682 /molecule | |
| parent | 8f539a76effcfb794145905736106de9e7f6aa8d (diff) | |
Fix molecule test fail ansible_default_ipv4 is undefined
Diffstat (limited to 'molecule')
| -rw-r--r-- | molecule/default/Dockerfile.raspberrypi.j2 | 2 | ||||
| -rw-r--r-- | molecule/default/Dockerfile.ubuntu.j2 | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/molecule/default/Dockerfile.raspberrypi.j2 b/molecule/default/Dockerfile.raspberrypi.j2 index 0345c21f..28bde7c8 100644 --- a/molecule/default/Dockerfile.raspberrypi.j2 +++ b/molecule/default/Dockerfile.raspberrypi.j2 @@ -8,7 +8,7 @@ ENV container docker RUN apt-get update \ && apt-get install -y --no-install-recommends \ - systemd python3 avahi-daemon \ + systemd python3 avahi-daemon iproute2 \ && rm -Rf /var/lib/apt/lists/* \ && rm -Rf /usr/share/doc \ && rm -Rf /usr/share/man \ diff --git a/molecule/default/Dockerfile.ubuntu.j2 b/molecule/default/Dockerfile.ubuntu.j2 index 4cf904ed..c5bf53cc 100644 --- a/molecule/default/Dockerfile.ubuntu.j2 +++ b/molecule/default/Dockerfile.ubuntu.j2 @@ -7,11 +7,12 @@ ARG DEBIAN_FRONTEND=noninteractive ENV container docker RUN apt-get update \ - && apt-get install -y --no-install-recommends locales systemd avahi-daemon python3 \ - && apt-get clean \ + && apt-get install -y --no-install-recommends \ + locales systemd avahi-daemon python3 iproute2 \ && rm -Rf /var/lib/apt/lists/* \ && rm -Rf /usr/share/doc \ - && rm -Rf /usr/share/man + && rm -Rf /usr/share/man \ + && apt-get clean # Fix potential UTF-8 errors with ansible-test. RUN locale-gen en_US.UTF-8 |
