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

这个提交包含在:
Astro 2021-05-06 15:46:16 +02:00
父节点 3e2d8ef2fc
当前提交 8bc0ce6e15
共有 1 个文件被更改,包括 5 次插入0 次删除

查看文件

@ -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" ]}
'';
});