mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Store IP
This commit is contained in:
parent
9f1164ab60
commit
ae2d269409
@ -179,6 +179,9 @@ else
|
|||||||
# Configuration for DHCP IP
|
# Configuration for DHCP IP
|
||||||
configureDHCP
|
configureDHCP
|
||||||
|
|
||||||
|
# Store IP for Docker healthcheck
|
||||||
|
echo "${DHCP_IP}" > "/var/dsm.ip"
|
||||||
|
|
||||||
# Display the received IP on port 5000
|
# Display the received IP on port 5000
|
||||||
/run/server.sh 5000 "The location of DSM is http://${DHCP_IP}:5000" > /dev/null &
|
/run/server.sh 5000 "The location of DSM is http://${DHCP_IP}:5000" > /dev/null &
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user