summaryrefslogtreecommitdiffstats
path: root/lava-slave/scripts/setup.sh
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-05-13 11:29:47 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-05-13 11:29:47 +0200
commit6f153a0ac4d9361aa0f8ecf7d2ba30e16bddc274 (patch)
tree623814a65b61818122f64ebd3a860fef05669714 /lava-slave/scripts/setup.sh
parent4ae24270f6e8e853ca97cdd1f926da486a39a387 (diff)
lava-slave: generate lavacli default identities
Diffstat (limited to 'lava-slave/scripts/setup.sh')
-rwxr-xr-xlava-slave/scripts/setup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-slave/scripts/setup.sh b/lava-slave/scripts/setup.sh
index 0b8a0b2..fce01f8 100755
--- a/lava-slave/scripts/setup.sh
+++ b/lava-slave/scripts/setup.sh
@@ -10,6 +10,8 @@ if [ -z "$LAVA_MASTER_URI" ];then
exit 11
fi
+lavacli identities add --uri $LAVA_MASTER_BASEURI --token $LAVA_MASTER_TOKEN --username $LAVA_MASTER_USER default
+
echo "Dynamic slave for $LAVA_MASTER ($LAVA_MASTER_URI)"
LAVACLIOPTS="--uri $LAVA_MASTER_URI"