From: garciadeblas Date: Mon, 14 May 2018 09:36:11 +0000 (+0200) Subject: OSM_HOSTNAME set to 127.0.0.1 instead of localhost to fix issues detected in some... X-Git-Tag: v4.0.0~9^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F6136%2F1;p=osm%2Fdevops.git OSM_HOSTNAME set to 127.0.0.1 instead of localhost to fix issues detected in some environments Change-Id: I5769e887bd4e50af27b6c7d2c458efd11948e39c Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 596beb05..8a3e3127 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -462,7 +462,7 @@ function install_osmclient(){ #echo 'export OSM_SOL005=True' >> ${HOME}/.bashrc [ -z "$INSTALL_LIGHTWEIGHT" ] && export OSM_HOSTNAME=`lxc list | awk '($2=="SO-ub"){print $6}'` [ -z "$INSTALL_LIGHTWEIGHT" ] && export OSM_RO_HOSTNAME=`lxc list | awk '($2=="RO"){print $6}'` - [ -n "$INSTALL_LIGHTWEIGHT" ] && export OSM_HOSTNAME=localhost + [ -n "$INSTALL_LIGHTWEIGHT" ] && export OSM_HOSTNAME=127.0.0.1 echo -e "\nOSM client installed" echo -e "You might be interested in adding the following OSM client env variables to your .bashrc file:" echo " export OSM_HOSTNAME=${OSM_HOSTNAME}"