summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinvoke_session_debian1
1 files changed, 1 insertions, 0 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index 025d8d4..90d8cba 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -86,6 +86,7 @@ lava-network collect eth0
#Request agent just before we need it
#This would be two keys in one agent if we wanted one for source, one for job
echo "*** WAITING FOR AGENT: ${ip_addr}"
+echo "ssh -A ${ip_addr}.lab 'ln -sf \$SSH_AUTH_SOCK /root/data/socket && while test -e ~/data/socket; do inotifywait -e delete ~/data; done'"
while ! test -e ~/data/socket; do
inotifywait -e create ~/data
done