forked from zentralwerk/network
nix/config: add cluster _ceph-mon._tcp SRV records
This commit is contained in:
parent
01f37cec9f
commit
245cbcfc10
|
@ -67,6 +67,12 @@ in
|
|||
core.ospf.secret = pillar.ospf.secret;
|
||||
pub.dynamicDomain = true;
|
||||
|
||||
cluster.extraRecords = map (host: {
|
||||
name = "_ceph-mon._tcp";
|
||||
type = "SRV";
|
||||
data = "1 1 6789 ${host}";
|
||||
}) [ "server6" "server7" "server8" ];
|
||||
|
||||
c3d2.dynamicDomain = true;
|
||||
c3d2.dhcp = {
|
||||
server = "c3d2-gw3";
|
||||
|
|
Loading…
Reference in New Issue