aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sdc
diff options
context:
space:
mode:
authorLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-03-12 14:30:45 +0200
committerLasse Kaihlavirta <l.kaihlavirt@partner.samsung.com>2020-03-23 16:06:29 +0000
commit2d19c2a1aa6aa8df3a7bd775e991a6af94104c3c (patch)
treed866aecd3c3efbd1a6c36a47f0a4fc39ddab3651 /scripts/sdc
parentbc1a21cf53f0c6653eb31c953256fc5322877481 (diff)
Replace ifonfig with ip a
- replace obsolete ifconfig with more modern command ip a Issue-ID: SDC-2824 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I5341e49f45b263c3dde3dc4923dc8233331f518e
Diffstat (limited to 'scripts/sdc')
-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"