diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-04-12 11:59:07 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-06-05 15:36:31 +0200 |
commit | 31555bcb6555d080e7072fba2fc8ccda0fd59eaa (patch) | |
tree | e70c096e7714be50f2d7b9f4419f07dbe4452ec7 /lava-slave/scripts/start.sh | |
parent | 287e03c09e34ec77d696fcd7ad55912cc127a859 (diff) |
Implement Multipleslave
This patch implement multiple slave support.
Instead of having a maximum of one master and one slave in one docker
image, it is now possible to have multiple slave accross several docker
host.
For helping this change, a new boards.yaml format is introduced (See
README.md for details)
Note that tokens.yaml is also squashed in boards.yaml
Diffstat (limited to 'lava-slave/scripts/start.sh')
-rwxr-xr-x | lava-slave/scripts/start.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-slave/scripts/start.sh b/lava-slave/scripts/start.sh index 92e76bb..35e58a4 100755 --- a/lava-slave/scripts/start.sh +++ b/lava-slave/scripts/start.sh @@ -1,4 +1,7 @@ #!/bin/bash + +/setup.sh || exit $? + # Set LAVA Master IP if [[ -n "$LAVA_MASTER" ]]; then sed -i -e "s/{LAVA_MASTER}/$LAVA_MASTER/g" /etc/lava-dispatcher/lava-slave |