It's not a fuction...
This commit is contained in:
parent
db38ba91af
commit
a7ea67fedb
|
@ -38,7 +38,7 @@ let
|
||||||
ptrEntry = ip: hostname: "#{ip} IN PTR ${hostname}.";
|
ptrEntry = ip: hostname: "#{ip} IN PTR ${hostname}.";
|
||||||
getHostname = n:
|
getHostname = n:
|
||||||
if hasAttr n networkHostsByComponent then
|
if hasAttr n networkHostsByComponent then
|
||||||
networkHostByComponent n
|
networkHostsByComponent."${n}"
|
||||||
else
|
else
|
||||||
"unassigned-${n}.${domain}";
|
"unassigned-${n}.${domain}";
|
||||||
minIp = toInt (getLastIpComponent (networkMinIp network));
|
minIp = toInt (getLastIpComponent (networkMinIp network));
|
||||||
|
|
Loading…
Reference in New Issue