Closed yi-liang closed 7 years ago
You can add to the prompt list what you need. To use non root user you need to use sudo before a lot of commands.
Also running as a non-root user has not quite been resolved yet.
@yi-liang: As @mattsm said, boardfarm doesn't really support running as a non-root user yet. prpl's fork of Boardfarm https://github.com/prplfoundation/boardfarm does have a prototype of non-root user support but it's not in a state where it can be merged upstream. That said, it does function moderately well for us so I encourage you to check out the work we've done.
I'll also be doing a presentation tomorrow at the prplwrt meeting on how prpl sets up boardfarm so I'll try to address some of the changes there.
thanks, @fasolens @mattsm @ericschultz
Seems when SSH connect to a board, the expected prompt is prompt = ['root\@.:.#', '/ # ', ".*:~ #",".+@.+:~\$"] /boardfarm/devices/debian.py line 21 which doesn't handle for generic/customised prompt? e.g. raspberry pi's user name could be pi