Merge "OSM_HOSTNAME set to 127.0.0.1 instead of localhost to fix issues detected...
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 14 May 2018 11:54:20 +0000 (13:54 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Mon, 14 May 2018 11:54:20 +0000 (13:54 +0200)
installers/full_install_osm.sh

index 659c32d..ad0e204 100755 (executable)
@@ -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}"