Skip to content

Commit 3020130

Browse files
committed
Use only first returned bridge IP
1 parent 637377c commit 3020130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/.env_vars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env
22

33
# Exports the current bridge network IP address
4-
export BRIDGE_NETWORK_IP=$(ip route | awk '/br-/ { print $7 }')
4+
export BRIDGE_NETWORK_IP=$(ip route | awk '/br-/ { print $7 }' | head -n 1)

0 commit comments

Comments
 (0)