Code Review
/
integration
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Replace ifonfig with ip a"
[integration/csit.git]
/
scripts
/
sdc
/
setup_sdc_for_sanity.sh
diff --git
a/scripts/sdc/setup_sdc_for_sanity.sh
b/scripts/sdc/setup_sdc_for_sanity.sh
index
c5a923d
..
90ffa23
100644
(file)
--- 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'
export ENV_NAME='CSIT'
export MR_IP_ADDR='10.0.0.1'
-i
fconfig
+i
p a
IP_ADDRESS=`ip route get 8.8.8.8 | awk '/src/{ print $7 }'`
export HOST_IP="$IP_ADDRESS"
IP_ADDRESS=`ip route get 8.8.8.8 | awk '/src/{ print $7 }'`
export HOST_IP="$IP_ADDRESS"