Skip to content

Commit

Permalink
Remove 172 IPs from the interface selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Toshbrown committed Jul 28, 2017
1 parent 860f025 commit 2395062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startDatabox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if ! [ -x "$(command -v docker-compose)" ]; then
exit 1
fi

ips=($(ifconfig | sed -En 's/127.0.0.1//;s/169.//;s/.inet (addr:)?(([0-9]+.){3}[0-9]+).*/\2/p'))
ips=($(ifconfig | sed -En 's/127.0.0.1//;s/172.//;s/169.//;s/.inet (addr:)?(([0-9]+.){3}[0-9]+).*/\2/p'))
EXT_IP=$ips
if [ "${#ips[@]}" -gt "1" ]
then
Expand Down

0 comments on commit 2395062

Please sign in to comment.