jjb/common: lava-labs-prepare: fix the url 78/20778/1
authorKhouloud Touil <ktouil@baylibre.com>
Fri, 22 Mar 2019 15:26:10 +0000 (16:26 +0100)
committerKhouloud Touil <ktouil@baylibre.com>
Fri, 22 Mar 2019 15:26:10 +0000 (16:26 +0100)
This patch fixes the url when adding the identities using the lavacli
tool.

Change-Id: I0c0bab0cec63a06d74581e1f05c94d25befcc238
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
jjb/common/include-agl-lava-labs-prepare.sh

index f676d6c..70f3be6 100644 (file)
@@ -71,7 +71,7 @@ for lab in "${!labs[@]}"; do
 
     # lavacli auth using token
     mkdir -p ~/.config
-    lavacli identities add --token ${token} --uri $url --username $user $lab
+    lavacli identities add --token ${token} --uri ${url}/RPC2 --username $user $lab
 
     # lavacli: Find the LAVA lab that has the device available to run the job
     echo -n "lavacli: Checking for $lava_device at $full_url... "