Commit a71ff45b authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Do not display internal IP

parent d416357a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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