mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-22 09:53:40 +08:00
GATEWAY
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user