diff --git a/start.sh b/start.sh index 67ab142..2267fe7 100755 --- a/start.sh +++ b/start.sh @@ -2,7 +2,7 @@ LOCAL_IP="" while [ -z "$LOCAL_IP" ]; do - LOCAL_IP=$(hostname -I | awk '{print $1}') + LOCAL_IP=$(ip addr show enP8p1s0 | grep -oP '(?<=inet )([0-9\.]+)' || hostname -I | awk '{print $1}') sleep 1 done TILING_SERVER_PORT=80