From e1ae5f767b3536bd1061306d2304640576b304b0 Mon Sep 17 00:00:00 2001 From: Jacob Payne Date: Fri, 6 May 2022 20:03:41 +0000 Subject: [PATCH] fixed config section --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3071cb3..e053643 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,15 @@ To install corral download the latest binary from the [releases](https://github. Before we can use corral we need to run the first time setup. ```shell -corral config -v digitalocean_token=$MY_DO_TOKEN -v digitalocean_domain=$MY_DO_DOMAIN +corral config ``` -When we configured corral we also set two variables `digitalocean_token` and `digitalocean_domain`. Any variables set with config will be passed to all corrals. This is useful for setting things like cloud credentials or ssh keys. You can always override these values when creating a new corral with the `-v` flag. +We also want to set a few global variables, `digitalocean_token` and `digitalocean_domain`. Any variables set with config will be passed to all corrals. This is useful for setting things like cloud credentials or ssh keys. You can always override these values when creating a new corral with the `-v` flag. + +```shell +corral config vars set digitalocean_token $MY_DO_TOKEN +corral config vars set digitalocean_domain $MY_DO_DOMAIN +``` ## Create