dhcpd: No need to use shared-networks

This commit is contained in:
Timo Makinen 2025-06-13 14:00:27 +00:00
parent ea3c05c2b5
commit abedf6102a
4 changed files with 33 additions and 41 deletions

View file

@ -16,17 +16,15 @@ on commit {
);
}
shared-network PRINTNET {
subnet 172.20.24.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option broadcast-address 172.20.24.255;
subnet 172.20.24.0 netmask 255.255.255.0 {
default-lease-time 86400;
max-lease-time 604800;
option subnet-mask 255.255.255.0;
option broadcast-address 172.20.24.255;
option domain-name "print.foo.sh";
option domain-name-servers 172.20.24.1, 172.20.24.2, 172.20.24.3;
use-host-decl-names on;
}
option domain-name "print.foo.sh";
option domain-name-servers 172.20.24.1, 172.20.24.2, 172.20.24.3;
use-host-decl-names on;
}
{% for host in ldap_hosts.results %}