summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/80-container-ve.network3
-rw-r--r--src/network/networkd-network.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
index f23b63adf4..72c20eba55 100644
--- a/network/80-container-ve.network
+++ b/network/80-container-ve.network
@@ -15,6 +15,3 @@ Address=0.0.0.0/28
LinkLocalAddressing=yes
DHCPServer=yes
IPMasquerade=yes
-
-[DHCPServer]
-EmitTimezone=yes
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 848ec66151..2a77242013 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -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;