mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #9586 from miri64/dist/fix/iotlab-term
iotlab-support: use iotlab command to check credentials
This commit is contained in:
commit
36529e3d61
3
dist/testbed-support/Makefile.iotlab
vendored
3
dist/testbed-support/Makefile.iotlab
vendored
@ -72,7 +72,8 @@ iotlab-stop: $(IOTLAB_AUTH) iotlab-check-exp
|
||||
$(Q)iotlab-experiment stop -i $(IOTLAB_EXP_ID)
|
||||
|
||||
iotlab-term: iotlab-check-exp
|
||||
$(Q)ssh -t $(IOTLAB_AUTHORITY) "test -f ~/.iotlabrc || iotlab-auth -u $(IOTLAB_USER)"
|
||||
$(Q)ssh -t $(IOTLAB_AUTHORITY) "iotlab-experiment get -r > /dev/null || \
|
||||
iotlab-auth -u $(IOTLAB_USER)"
|
||||
|
||||
$(Q)ssh -t $(IOTLAB_AUTHORITY) \
|
||||
"tmux attach -t riot-$(IOTLAB_EXP_ID) || tmux new -s riot-$(IOTLAB_EXP_ID) \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user