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>
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