Update internet IF retrieval

To be consistent with @adepasquale PR #746 fatt, glutton and p0f Dockerfiles were updated accordingly.
This commit is contained in:
t3chn0m4g3
2021-01-06 17:05:09 +00:00
parent db73a0656e
commit d2dc43e1ef
3 changed files with 3 additions and 3 deletions

View File

@ -40,4 +40,4 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
STOPSIGNAL SIGINT
ENV PYTHONPATH /opt/fatt
WORKDIR /opt/fatt
CMD python3 fatt.py -i $(/sbin/ip address | grep '^2: ' | awk '{ print $2 }' | tr -d [:punct:]) --print_output --json_logging -o log/fatt.log
CMD python3 fatt.py -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') --print_output --json_logging -o log/fatt.log