From: Yu Watanabe Date: Fri, 13 Jun 2025 18:46:17 +0000 (+0900) Subject: network: use PersistLeases=runtime on container/VM/namespace network interfaces X-Git-Tag: v258-rc1~303^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5610d636047e0c703b575c5c2af4e8ce4c8308a;p=thirdparty%2Fsystemd.git network: use PersistLeases=runtime on container/VM/namespace network interfaces Follow-up for 9ccc369ff30138b9c2cf3ed8faf28d8fe42f8377. Then, we can safely restart networkd or reconfigure the interface. --- diff --git a/network/80-container-ve.network b/network/80-container-ve.network index 69c534f4e1b..a70a24cbcb1 100644 --- a/network/80-container-ve.network +++ b/network/80-container-ve.network @@ -29,4 +29,4 @@ IPv6AcceptRA=no IPv6SendRA=yes [DHCPServer] -PersistLeases=no +PersistLeases=runtime diff --git a/network/80-container-vz.network b/network/80-container-vz.network index 2dc5d87e23b..09eadf48db1 100644 --- a/network/80-container-vz.network +++ b/network/80-container-vz.network @@ -28,4 +28,4 @@ IPv6AcceptRA=no IPv6SendRA=yes [DHCPServer] -PersistLeases=no +PersistLeases=runtime diff --git a/network/80-namespace-ns-tun.network b/network/80-namespace-ns-tun.network index fe084838a9b..658eac88d8f 100644 --- a/network/80-namespace-ns-tun.network +++ b/network/80-namespace-ns-tun.network @@ -29,4 +29,4 @@ IPv6AcceptRA=no IPv6SendRA=yes [DHCPServer] -PersistLeases=no +PersistLeases=runtime diff --git a/network/80-namespace-ns.network b/network/80-namespace-ns.network index cd1a819973e..2fb422a8bb9 100644 --- a/network/80-namespace-ns.network +++ b/network/80-namespace-ns.network @@ -29,4 +29,4 @@ IPv6AcceptRA=no IPv6SendRA=yes [DHCPServer] -PersistLeases=no +PersistLeases=runtime diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network index a7c0f770893..cb968064398 100644 --- a/network/80-vm-vt.network +++ b/network/80-vm-vt.network @@ -28,4 +28,4 @@ IPv6AcceptRA=no IPv6SendRA=yes [DHCPServer] -PersistLeases=no +PersistLeases=runtime