summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2017-05-27 17:31:25 +0200
committerJörg Thalheim <Mic92@users.noreply.github.com>2017-05-27 16:31:25 +0100
commit19c298e97328ee78e639682ec195ce3e820d8387 (patch)
tree0953e076b1602309ef9f2f8197a27d02df35eff5 /nixos
parent2ff488c267a873ba583d0bafbb27b166eea53893 (diff)
downloadnixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar.gz
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar.bz2
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar.lz
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar.xz
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.tar.zst
nixlib-19c298e97328ee78e639682ec195ce3e820d8387.zip
tinc: Mention in docs that the host name may not be used verbatim. (#26157)
* tinc: Mention in docs that the host name may not be used verbatim.

Source:

  https://github.com/gsliepen/tinc/blob/5c344f297682cf11793407fca4547968aee22d95/src/net_setup.c#L341

* tinc: also replaces non-alphanumeric characters.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/tinc.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix
index 6cb40185274d..79a0aa953feb 100644
--- a/nixos/modules/services/networking/tinc.nix
+++ b/nixos/modules/services/networking/tinc.nix
@@ -35,7 +35,8 @@ in
               description = ''
                 The name of the node which is used as an identifier when communicating
                 with the remote nodes in the mesh. If null then the hostname of the system
-                is used.
+                is used to derive a name (note that tinc may replace non-alphanumeric characters in
+                hostnames by underscores).
               '';
             };