aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-03-27 08:16:29 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-27 08:16:29 +0000
commit58cad3b81d9dd5c1e49e005bc2741e57802ea1a4 (patch)
tree2362581ca840ac806b451866bf1d96a227ebb036 /scripts
parent5610022aea28c7484c2489eaa26e92d2da8dfc39 (diff)
parent2d19c2a1aa6aa8df3a7bd775e991a6af94104c3c (diff)
Merge "Replace ifonfig with ip a"
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sdc/setup_sdc_for_sanity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sdc/setup_sdc_for_sanity.sh b/scripts/sdc/setup_sdc_for_sanity.sh
index c5a923d8..90ffa230 100644
--- a/scripts/sdc/setup_sdc_for_sanity.sh
+++ b/scripts/sdc/setup_sdc_for_sanity.sh
@@ -94,7 +94,7 @@ chmod -R 777 "${WORKSPACE}/data/clone"
export ENV_NAME='CSIT'
export MR_IP_ADDR='10.0.0.1'
-ifconfig
+ip a
IP_ADDRESS=`ip route get 8.8.8.8 | awk '/src/{ print $7 }'`
export HOST_IP="$IP_ADDRESS"