Apparently kea doesn't list->csv for me
This commit is contained in:
parent
a169209046
commit
72a33bd452
|
@ -138,10 +138,11 @@ in {
|
||||||
valid-lifetime = 4000;
|
valid-lifetime = 4000;
|
||||||
rebind-timer = 2000;
|
rebind-timer = 2000;
|
||||||
renew-timer = 1000;
|
renew-timer = 1000;
|
||||||
option-data = [
|
option-data = let joinList = concatStringsSep ", ";
|
||||||
|
in [
|
||||||
{
|
{
|
||||||
name = "domain-name-servers";
|
name = "domain-name-servers";
|
||||||
data = cfg.dns-servers;
|
data = cfg.joinList dns-servers;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "subnet-mask";
|
name = "subnet-mask";
|
||||||
|
@ -161,7 +162,7 @@ in {
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "domain-search";
|
name = "domain-search";
|
||||||
data = [ cfg.domain ] ++ cfg.search-domains;
|
data = joinList ([ cfg.domain ] ++ cfg.search-domains);
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
subnet4 = [{
|
subnet4 = [{
|
||||||
|
|
Loading…
Reference in New Issue