mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 01:18:32 +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
|
fi
|
||||||
|
|
||||||
# Retrieve the HTTP port number
|
# Retrieve the HTTP port number
|
||||||
|
|
||||||
if [[ ! "${RESPONSE}" =~ "\"http_port\"" ]] ; then
|
if [[ ! "${RESPONSE}" =~ "\"http_port\"" ]] ; then
|
||||||
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
||||||
fi
|
fi
|
||||||
@ -24,7 +23,6 @@ PORT=${rest%%\"*}
|
|||||||
[ -z "${PORT}" ] && echo "Guest has not set a portnumber yet.." && exit 1
|
[ -z "${PORT}" ] && echo "Guest has not set a portnumber yet.." && exit 1
|
||||||
|
|
||||||
# Retrieve the IP address
|
# Retrieve the IP address
|
||||||
|
|
||||||
if [[ ! "${RESPONSE}" =~ "eth0" ]] ; then
|
if [[ ! "${RESPONSE}" =~ "eth0" ]] ; then
|
||||||
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
echo "Failed to parse response from guest: $RESPONSE" && exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user