diff options
author | Kevin Hilman <khilman@baylibre.com> | 2019-03-14 12:05:45 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2019-03-14 12:06:10 -0700 |
commit | 2bd4a410d89f44cc243aec504c1549ee6600973f (patch) | |
tree | d7809db4a32424c8ae90749c74aee1a75b9a205a /jjb/common | |
parent | aa331d52c53a519ebc2202b1faf619f8f05d2ab6 (diff) |
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 <khilman@baylibre.com>
Diffstat (limited to 'jjb/common')
-rw-r--r-- | jjb/common/include-agl-lava-labs-prepare.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |