From da18ac8991079875f14af43f25879c2ae2e9c569 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 20 Apr 2023 15:12:48 +0200 Subject: [PATCH] Display IP --- run/network.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run/network.sh b/run/network.sh index b4a6301..e0e17e3 100644 --- a/run/network.sh +++ b/run/network.sh @@ -179,6 +179,9 @@ else # Configuration for DHCP IP configureDHCP + # Display the received IP on port 5000 + /run/server.sh 5000 "The location of DSM is http://{$DHCP_IP}:5000" > /dev/null & + fi NET_OPTS="${NET_OPTS} -device virtio-net-pci,romfile=,netdev=hostnet0,mac=${VM_NET_MAC},id=net0"