aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-02-17 15:10:35 +0800
committerXi Ruoyao <xry111@xry111.site>2023-02-17 15:10:35 +0800
commitce779ec8c1b39ea77d819c97d7604eff4f565ca2 (patch)
treecd6671504680852f2639652f7ad654552305efd4 /chapter09
parente4a9ca459e91cfa60dfe0237558ec86533cfee7b (diff)
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].
Diffstat (limited to 'chapter09')
-rw-r--r--chapter09/networkd.xml2
1 files changed, 1 insertions, 1 deletions
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=&lt;network-device-name&gt;
[Network]
DHCP=ipv4
-[DHCP]
+[DHCPv4]
UseDomains=true</literal>
EOF</userinput></screen>