Age | Commit message (Collapse) | Author |
|
Change-Id: Iad9dccb0529ce1d186985d2e09fa7c23a0f17faa
|
|
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
Change-Id: I0b8d433bbdd6837382bdc61cd70fb10b4db22efd
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
|
|
LAVA-1987 - set out the changes after HKG15 for
inactivity timeouts and logout termination.
Change-Id: I0b305359c893d02eb65113d962c7620221757191
|
|
If user doesn't log in to hacking session within 60 minutes,
the session is terminated. Also default behavior is changed and
the session is terminated upon logging out. When user would like
to continue hacking session the 'continue_hacking' command is provided.
Android multinode hacking session was fixed and it closes both nodes properly.
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Change-Id: I2936067fcdc17616a2dd85bf8dd58c1d76b6f26c
|
|
New parameter NOTIFY_URL allows pushing the ip of the device to an
HTTP server. The HTTP service or a script polling the server
can then trigger opening the hacking session automatically,
avoiding the need of watching IRC and copypasting commands.
Change-Id: Id3ba767ef66a03cb540e8d517b43fa6c3548b735
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
|
|
It seems the IRC script is only available in some distro versions. By
removing it as a hard dependency we can fail more gracefully. Also if
IRC_USER is not specified we won't even try.
Change-Id: Ibe9b61392d210745930d589392cf6577b6a0565e
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
The hostname part is confusing and putting
the ssh command on one line is easier to
copy and paste.
Strip trailing spaces.
Change-Id: Iddb1d81ac9b37a47e6282282feeddf94e2f06c45
|
|
|
|
Change-Id: I1bcff3b0e6550022cb7a98ab393aca5c37fb01d7
|
|
This allows us to report the correct user to login as in cases such as
ubuntu rootfs setups where root login is disabled to start with.
Change-Id: I18877b86c4e75893f893282bed1f60ec202c8748
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
If the IRC_USER environment variable is set we ping the user once the
hacking session is up and running to let them know it's ready for them.
The IRC_SERVER defaults to irc.freenode.net.
Change-Id: I77a7e642f7f3defcbdb5079b13ac523f3a0f0149
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
There are two potential failure modes being guarded against.
- buggy NFS mounts which squash 0600 perms
- running setup under sudo -s for a "real" user
Change-Id: Icd6725424b75c6a365cf7d0f7b69f7deeca6179a
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
This attempts to make the hacking session scripts do the right thing if
no gateway is specified. This is marginally easier than relying on the
user knowing the correct gateway address for non LAVA lab boxen.
Change-Id: I4d76c334d9769bb04ebad7268084532b4e43076a
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
|
This will generate huge warnings if the server is then changed
Change-Id: Ic9f895a9c51350832facff55ecce34380faf70d8
|
|
Change-Id: I43a05ca3156e443911b89e2f07a65bd433568d31
|
|
Also use the init scripts to stop sshd when leaving hacking session.
Change-Id: I3b256b2cb176a64915dae86a9aeeb35bb514b77d
|
|
...based on the previous documentation...
Change-Id: If9b8a106c175a248846144d378565653d8bc38a7
|
|
Change-Id: I166e3a6fa97e8cea63789865cad19f38d4b66c12
|
|
|
|
/etc/network/interfaces to bring it up. Needs to be run by init before networking is brought up by the OS.
Change-Id: I11038057de70424775ea331af1ac02b19251b36d
|
|
Change-Id: Id02a853d96dafb4874301fc60399616dd824be14
|
|
Change-Id: Id84c60835601fbd6740195d78993816c55a53656
|
|
Change-Id: I3e0b00aad07d8db2e47964e2a4ce6c8e597a3fad
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|
|
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
|