summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-07-10 18:19:28 +0200
committerBernard Ogden <bernie.ogden@linaro.org>2015-07-10 18:19:28 +0200
commitc657774ad43f8281f28dfa542ac1840f57585aa7 (patch)
tree7c23335e18b31039e563a6e6cf80879401ad6cb3
parentfd6852c3e53d9fd778f468630f6d9f7ec25f2455 (diff)
wip
Change-Id: I9646fa0ec3969f44770cd4377e226b2ec32ea2c4
-rwxr-xr-xinvoke_session_debian1
1 files changed, 1 insertions, 0 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index 841dc7e..253ae11 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -23,6 +23,7 @@ fi
# Obtain target IP and Hostname
ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |awk -F: '{split($2,a," "); print a[1] }')
hostname=$(cat /etc/hostname)
+echo ${ip_addr}
# Set the PATH to use the LAVA api
echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc