mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-31 17:17:43 +03:00
networkd: emit DNS/NTP/Timezone info via DHCP server by default
If we have the data, emit it by default.
This commit is contained in:
parent
4f5f911e81
commit
539f2a7381
@ -15,6 +15,3 @@ Address=0.0.0.0/28
|
||||
LinkLocalAddressing=yes
|
||||
DHCPServer=yes
|
||||
IPMasquerade=yes
|
||||
|
||||
[DHCPServer]
|
||||
EmitTimezone=yes
|
||||
|
@ -107,6 +107,10 @@ static int network_load_one(Manager *manager, const char *filename) {
|
||||
network->dhcp_route_metric = DHCP_ROUTE_METRIC;
|
||||
network->dhcp_client_identifier = DHCP_CLIENT_ID_DUID;
|
||||
|
||||
network->dhcp_server_emit_dns = true;
|
||||
network->dhcp_server_emit_ntp = true;
|
||||
network->dhcp_server_emit_timezone = true;
|
||||
|
||||
network->use_bpdu = true;
|
||||
network->allow_port_to_be_root = true;
|
||||
network->unicast_flood = true;
|
||||
|
Loading…
Reference in New Issue
Block a user