mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
ifconfig
This commit is contained in:
parent
fdbd80adb0
commit
ba15d71f7f
@ -160,7 +160,8 @@ if [ "$DEBUG" = "Y" ]; then
|
|||||||
|
|
||||||
IP=$(ip address show dev eth0 | grep inet | awk '/inet / { print $2 }' | cut -f1 -d/)
|
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
|
fi
|
||||||
|
|
||||||
if [ "$DHCP" != "Y" ]; then
|
if [ "$DHCP" != "Y" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user