Skip to content

Commit e59d8bc

Browse files
committed
Additional notes
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent d1d48ea commit e59d8bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/install-agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ Enter the following into cloud-init/userdata or run it manually on the server af
4040

4141
curl -LSsf https://get.actuated.com | LICENSE="" \
4242
TOKEN="" \
43-
HOME="/root" bash -
43+
HOME="/root" sudo -E bash -
4444
```
4545

4646
Minimum configuration:
4747

4848
* `TOKEN` - your Account API Token - reach out to us and we'll generate one for you
4949
* `LICENSE` - the key you received when you [purchased an actuated subscription](https://actuated.com/pricing)
5050
cache layers pulled anonymously
51-
* `HOME` - Set this only if using cloud-init/userdata - where HOME is usually unset. Otherwise leave it blank and the script will use the current user's home directory.
51+
* `HOME` - Generally, set this if using cloud-init/userdata because `HOME` is usually unset. Otherwise leave it blank and the script will use the current user's home directory.
5252

5353
Additional configuration:
5454

5555
* `DOCKER_USERNAME` and `DOCKER_PASSWORD` - your Docker Hub credentials for the pull-through cache. [Create a token here](https://docs.docker.com/security/access-tokens/) or leave empty to
56-
* `LABELS` - apply a comma-separated list of labels to the agent, e.g. `gce` or `gce,ssd`
56+
* `LABELS` - apply a comma-separated list of labels to the agent, e.g. `gce` or `gce,ssd` or `gce,ssd,r1` then if you have a second machine later, you could label it `gce,ssh,r2` and target to either `r1` or `r2` in the `runs-on:` label later on like `runs-on: [actuated-2cpu-8gb, r2]`
5757
* `SAN` - use this option if autodetecting the host's IP address is not working properly, add `SAN=$(curl -sfSL https://checkip.amazonaws.com)` as an extra environment variable
5858

5959
Storage configuration:

0 commit comments

Comments
 (0)