diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-02-17 15:10:35 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-02-17 15:10:35 +0800 |
commit | ce779ec8c1b39ea77d819c97d7604eff4f565ca2 (patch) | |
tree | cd6671504680852f2639652f7ad654552305efd4 /chapter09 | |
parent | e4a9ca459e91cfa60dfe0237558ec86533cfee7b (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.xml | 2 |
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=<network-device-name> [Network] DHCP=ipv4 -[DHCP] +[DHCPv4] UseDomains=true</literal> EOF</userinput></screen> |