From ce779ec8c1b39ea77d819c97d7604eff4f565ca2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 17 Feb 2023 15:10:35 +0800 Subject: configuration: Use [DHCPv4] instead of [DHCP] for systemd .network file The upstream has splitted [DHCP] into [DHCPv4] and [DHCPv6]. While we are only enabling DHCPv4 in the example setting (in most scenario DHCPv6 is not strictly needed as SLAAC is sufficient), just use [DHCPv4] instead of [DHCP]. --- chapter09/networkd.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter09/networkd.xml b/chapter09/networkd.xml index 56d41a983..43b7e7172 100644 --- a/chapter09/networkd.xml +++ b/chapter09/networkd.xml @@ -164,7 +164,7 @@ Name=<network-device-name> [Network] DHCP=ipv4 -[DHCP] +[DHCPv4] UseDomains=true EOF -- cgit v1.2.3-54-g00ecf