summaryrefslogtreecommitdiff
path: root/invoke_session_debian
diff options
context:
space:
mode:
Diffstat (limited to 'invoke_session_debian')
-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