Skip to content

Commit

Permalink
Closes-Bug: #1654531 - SM upgrade has wrong DOCKER OPTS if docker0 is…
Browse files Browse the repository at this point in the history
… already there

The Docker opts gets set with wrong HOST IP (using docker IP instead of SM IP)

Change-Id: Icd4d4b0def6812c496d253567d575b688b2b6a87
  • Loading branch information
nitishkrishna committed Feb 13, 2017
1 parent 9482756 commit f85d49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/deb_server_manager_setup.sh
Expand Up @@ -24,7 +24,7 @@ WEBCORE=""
CERT_NAME=""
SMLITE=""
NOEXTERNALREPOS=""
HOST_IP_LIST=`ifconfig | sed -n -e 's/:127\.0\.0\.1 //g' -e 's/ *inet addr:\([0-9.]\+\).*/\1/gp'`
HOST_IP_LIST=`ifconfig | sed -n -e 's/:127\.0\.0\.1 //g' -e 's/:172\.17\.0\.1//g' -e 's/ *inet addr:\([0-9.]\+\).*/\1/gp'`
HOSTIP=`echo $HOST_IP_LIST | cut -d' ' -f1`
rel=`lsb_release -r`
rel=( $rel )
Expand Down

0 comments on commit f85d49d

Please sign in to comment.