nixos-module/container/dns: allow underscores in dynamic hostnames

Este commit está contenido en:
Astro 2021-05-06 15:46:16 +02:00
padre 3e2d8ef2fc
commit 8bc0ce6e15
Se han modificado 1 ficheros con 5 adiciones y 0 borrados

Ver fichero

@ -324,6 +324,11 @@ in
algorithm hmac-sha256;
secret "${inputs.zentralwerk-network-key.lib.dyndnsKey}";
};
# allow underscores in dynamic hostnames
${lib.concatMapStringsSep "\n" (type: ''
check-names ${type} ignore;
'') [ "master" "slave" "response" ]}
'';
});