Skip to content

Commit dcf1606

Browse files
committed
Add SAN workaround
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent eeef83f commit dcf1606

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/install-agent.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ 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
5656
* `LABELS` - apply a comma-separated list of labels to the agent, e.g. `gce` or `gce,ssd`
57+
* `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
5758

5859
Storage configuration:
5960

60-
* `VM_DEV` - a disk or partition to use for VM storage - leave blank for to autodetect a spare disk. If no disk is found, a loopback file will be used.
61+
* `VM_DEV` - a disk or partition to use for VM storage - leave blank for to autodetect a spare disk. If no disk is found, a loopback file will be used. If the wrong disk is being detected, you may need to wipe any existing filesystem signatures first with `wipefs -a /dev/sdX`. Or, just specify the `VM_DEV` variable manually after having logged in and run `lsblk`.
6162

6263
The installation will guess the best place to store VM snapshots, and if a space disk or partition is found, it will be wiped and formatted.
6364

0 commit comments

Comments
 (0)