File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
files/common/lib/systemd/network Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # See systemd.network(5) for a description of KeepConfiguration. We make this
3+ # change here because the default behavior of systemd-networkd starting in
4+ # Ubuntu 20.04 is to release a DHCP lease upon stopping systemd-networkd (even
5+ # in the context of a restart). The impact of this is that the system's
6+ # default route and IP address are removed, and then added back again when the
7+ # service is started back up, resulting in a brief loss of network
8+ # connectivity. Delphix, being a critical piece of infrastructure, cannot
9+ # afford brief loss of connectivity. We thus change the KeepConfiguration
10+ # setting so that systemd-networkd does not release the lease on stop.
11+ #
12+
13+ [Match]
14+ Name=*
15+
16+ [Network]
17+ KeepConfiguration=dhcp-on-stop
You can’t perform that action at this time.
0 commit comments