Skip to content

Commit

Permalink
Udpates start script for Ubuntu 18 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsreekanti authored May 6, 2020
1 parent 6f48fdf commit 573fc1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/start-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
cd $HYDRO_HOME/anna-cache
mkdir -p conf

IP=`ifconfig eth0 | grep 'inet addr:' | grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1 }'`
IP=`ifconfig eth0 | grep 'inet' | grep -v inet6 | sed -e 's/^[ \t]*//' | cut -d' ' -f2`

# Download latest version of the code from relevant repository & branch -- if
# none are specified, we use hydro-project/anna by default.
Expand Down

0 comments on commit 573fc1e

Please sign in to comment.