X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Ffull_install_osm.sh;h=75949846a3e29652e80b96c4ead152731b5bdb6a;hb=c1ae239c3440000ce6d9ec47386e13d67c13e815;hp=27e487f434d615bc98f869b103743c44e9c2e5b4;hpb=2ce2b004deff32c9016afd7f8cdffff0059b981f;p=osm%2Fdevops.git diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 27e487f4..75949846 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -647,7 +647,7 @@ function install_osm() { DEFAULT_IF=$(ip route list|awk '$1=="default" {print $5; exit}') [ -z "$DEFAULT_IF" ] && DEFAULT_IF=$(route -n |awk '$1~/^0.0.0.0/ {print $8; exit}') [ -z "$DEFAULT_IF" ] && FATAL "Not possible to determine the interface with the default route 0.0.0.0" - DEFAULT_IP=`ip -o -4 a s ${DEFAULT_IF} |awk '{split($4,a,"/"); print a[1]}'` + DEFAULT_IP=`ip -o -4 a s ${DEFAULT_IF} |awk '{split($4,a,"/"); print a[1]; exit}'` [ -z "$DEFAULT_IP" ] && FATAL "Not possible to determine the IP address of the interface with the default route" # configure apt proxy