From 1bda660568fec16c6e5fbf1a32f75b07cba00198 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Fri, 15 Mar 2019 15:49:07 -0700 Subject: jjb/common: lavacli: no username in URL Don't use a URL with a username in it for the lavacli config file. The lavacli config file already has a `username` field, and having it also in the URL makes lavacli fail. Change-Id: I88e8ce06519b0b09476d5a4bc693b95b40f20e59 Signed-off-by: Kevin Hilman --- jjb/common/include-agl-lava-labs-prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jjb/common/include-agl-lava-labs-prepare.sh b/jjb/common/include-agl-lava-labs-prepare.sh index ac46bf54..159d080b 100644 --- a/jjb/common/include-agl-lava-labs-prepare.sh +++ b/jjb/common/include-agl-lava-labs-prepare.sh @@ -71,7 +71,7 @@ for lab in "${!labs[@]}"; do # lavacli auth using token mkdir -p ~/.config - lavacli identities add --token ${token} --uri $full_url --username $user $lab + lavacli identities add --token ${token} --uri $url --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... " -- cgit 1.2.3-korg