mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 05:20:02 +08:00
GATEWAY
This commit is contained in:
parent
1f8ed72a45
commit
1d8226ec2e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user