From b5610d636047e0c703b575c5c2af4e8ce4c8308a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sat, 14 Jun 2025 03:46:17 +0900 Subject: [PATCH] network: use PersistLeases=runtime on container/VM/namespace network interfaces Follow-up for 9ccc369ff30138b9c2cf3ed8faf28d8fe42f8377. Then, we can safely restart networkd or reconfigure the interface. --- network/80-container-ve.network | 2 +- network/80-container-vz.network | 2 +- network/80-namespace-ns-tun.network | 2 +- network/80-namespace-ns.network | 2 +- network/80-vm-vt.network | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/network/80-container-ve.network b/network/80-container-ve.network index 69c534f4e1..a70a24cbcb 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 2dc5d87e23..09eadf48db 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 fe084838a9..658eac88d8 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 cd1a819973..2fb422a8bb 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 a7c0f77089..cb96806439 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