mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 06:10:32 +08:00
Display IP
This commit is contained in:
@@ -14,6 +14,7 @@ fi
|
|||||||
IP=$(cat "${FILE}")
|
IP=$(cat "${FILE}")
|
||||||
|
|
||||||
if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/" > /dev/null; then
|
if ! curl -m 3 -ILfSs "http://${IP}:${PORT}/" > /dev/null; then
|
||||||
|
echo "Failed to reach ${IP}:${PORT}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user