mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
fix: modify script to accomodate ip address show without brd
This commit is contained in:
@ -40,4 +40,4 @@ RUN apk -U --no-cache upgrade && \
|
||||
# Start glutton
|
||||
WORKDIR /opt/glutton
|
||||
USER 2000:2000
|
||||
CMD exec bin/server -d true -i $(/sbin/ip address show | /usr/bin/awk '/inet.*brd/{ print $NF; exit }') -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
||||
CMD exec bin/server -d true -i $(/sbin/ip address show | /usr/bin/awk '/inet.*(brd|global)/{ print $NF; exit }') -l /var/log/glutton/glutton.log > /dev/null 2>&1
|
||||
|
Reference in New Issue
Block a user