This commit is contained in:
Kroese 2023-04-20 17:01:14 +02:00 committed by GitHub
parent 1f8ed72a45
commit 1d8226ec2e

View File

@ -159,7 +159,7 @@ GATEWAY=$(ip r | grep default | awk '{print $3}')
if [ "$DEBUG" = "Y" ]; then
IP=$(ip address show dev eth0 | grep inet | awk '/inet / { print $2 }' | cut -f1 -d/)
echo "Info: Container IP is ${IP} with gateway {GATEWAY}"
echo "Info: Container IP is ${IP} with gateway ${GATEWAY}"
ifconfig
ip route
fi