mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-07 17:07:58 +08:00
Do not display internal IP
This commit is contained in:
parent
d416357a6f
commit
a71ff45bba
@ -11,7 +11,6 @@ if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then
|
||||
fi
|
||||
|
||||
# Retrieve the HTTP port number
|
||||
|
||||
if [[ ! "${RESPONSE}" =~ "\"http_port\"" ]] ; then
|
||||
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
||||
fi
|
||||
@ -24,7 +23,6 @@ PORT=${rest%%\"*}
|
||||
[ -z "${PORT}" ] && echo "Guest has not set a portnumber yet.." && exit 1
|
||||
|
||||
# Retrieve the IP address
|
||||
|
||||
if [[ ! "${RESPONSE}" =~ "eth0" ]] ; then
|
||||
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user