Merge pull request 'zerotier: Emphasize that moons are optional' (#3868) from kenji/clan-core:ke-zerotier-documentation-expand into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3868
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
## Example Usage
|
||||
|
||||
```
|
||||
inventory.instances = {
|
||||
zerotier = {
|
||||
module = {
|
||||
name = "zerotier";
|
||||
input = "clan";
|
||||
};
|
||||
roles.peer.tags.all = { };
|
||||
roles.controller.machines.jon = { };
|
||||
roles.moon.machines.sara.settings.stableEndpoints = [ "77.52.165.46" ];
|
||||
inventory.instances = {
|
||||
zerotier = {
|
||||
module = {
|
||||
name = "zerotier";
|
||||
input = "clan";
|
||||
};
|
||||
roles.peer.tags.all = { };
|
||||
roles.controller.machines.jon = { };
|
||||
roles.moon.machines.sara.settings.stableEndpoints = [ "77.52.165.46" ];
|
||||
};
|
||||
```
|
||||
|
||||
The input should be named according to your flake input.
|
||||
All machines will be peers and connected to the zerotier network.
|
||||
Jon is the controller machine, which will will accept other machines into the network.
|
||||
Sara is a moon and sets the `stableEndpoint` setting with a publically reachable IP.
|
||||
Sara is a moon and sets the `stableEndpoint` setting with a publically reachable IP, the moon is optional.
|
||||
|
||||
|
||||
## Overview
|
||||
|
||||
Reference in New Issue
Block a user