Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions files/common/lib/systemd/network/99-delphix-defaults.network
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# See systemd.network(5) for a description of KeepConfiguration. We make this
# change here because the default behavior of systemd-networkd starting in
# Ubuntu 20.04 is to release a DHCP lease upon stopping systemd-networkd (even
# in the context of a restart). The impact of this is that the system's
# default route and IP address are removed, and then added back again when the
# service is started back up, resulting in a brief loss of network
# connectivity. Delphix, being a critical piece of infrastructure, cannot
# afford brief loss of connectivity. We thus change the KeepConfiguration
# setting so that systemd-networkd does not release the lease on stop.
#

[Match]
Name=*

[Network]
KeepConfiguration=dhcp-on-stop