Skip to content

Commit

Permalink
fix-breaking-travis-ci
Browse files Browse the repository at this point in the history
apparently eth0 is gone in travis ci, thus we need to get the ip from another interface
  • Loading branch information
chicco785 committed Oct 14, 2019
1 parent 7fffb2d commit c6d0b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_dev_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ docker build -t quantumleap .

source deps.env

LH=`( /sbin/ifconfig eth0 | grep 'inet' | cut -d: -f2 | awk '{ print $1}' ) 2> /dev/null`
LH=`( /sbin/ifconfig ens4 | grep 'inet' | cut -d: -f2 | awk '{ print $1}' ) 2> /dev/null`
if [ -z "$LH" ]
then
# Aliasing so that notifications from orion container reach dev localhost
Expand Down

0 comments on commit c6d0b86

Please sign in to comment.