From 2bd4a410d89f44cc243aec504c1549ee6600973f Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Thu, 14 Mar 2019 12:05:45 -0700 Subject: jjb/common: lava-labs-prepare: fix lavacli config error lavacli doesn't like an empty config file. The first "identities add" will automatcially create the new config file, as long as the ~/.config dir exists. Change-Id: I337f8b6883362a0f01b58e34645c825a186ab7d7 Signed-off-by: Kevin Hilman --- jjb/common/include-agl-lava-labs-prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/common/include-agl-lava-labs-prepare.sh') diff --git a/jjb/common/include-agl-lava-labs-prepare.sh b/jjb/common/include-agl-lava-labs-prepare.sh index 2335b0a1..ac46bf54 100644 --- a/jjb/common/include-agl-lava-labs-prepare.sh +++ b/jjb/common/include-agl-lava-labs-prepare.sh @@ -70,7 +70,7 @@ for lab in "${!labs[@]}"; do rm -f $token_file # lavacli auth using token - mkdir -p ~/.config && touch ~/.config/lavacli.yaml + mkdir -p ~/.config lavacli identities add --token ${token} --uri $full_url --username $user $lab # lavacli: Find the LAVA lab that has the device available to run the job -- cgit 1.2.3-korg