Skip to content

Commit

Permalink
networkd/default: keep static configuration if provided
Browse files Browse the repository at this point in the history
From the documentation[^1]:
> The setting "dhcp" implies "dhcp-on-stop", and "yes" implies "dhcp" and "static".

I would understand that "yes" implies then: "dhcp-on-stop" and "static"

[^1]: https://www.freedesktop.org/software/systemd/man/systemd.network.html

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
  • Loading branch information
tormath1 committed Jul 27, 2022
1 parent b99ff06 commit 8ff0a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systemd/network/zz-default.network
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Network]
DHCP=yes
KeepConfiguration=dhcp-on-stop
KeepConfiguration=yes
IPv6AcceptRA=true

[Match]
Expand Down

0 comments on commit 8ff0a9f

Please sign in to comment.