network: use PersistLeases=runtime on container/VM/namespace network interfaces

Follow-up for 9ccc369ff3.

Then, we can safely restart networkd or reconfigure the interface.
This commit is contained in:
Yu Watanabe
2025-06-14 03:46:17 +09:00
parent 009d64dddd
commit b5610d6360
5 changed files with 5 additions and 5 deletions

View File

@@ -29,4 +29,4 @@ IPv6AcceptRA=no
IPv6SendRA=yes
[DHCPServer]
PersistLeases=no
PersistLeases=runtime

View File

@@ -28,4 +28,4 @@ IPv6AcceptRA=no
IPv6SendRA=yes
[DHCPServer]
PersistLeases=no
PersistLeases=runtime

View File

@@ -29,4 +29,4 @@ IPv6AcceptRA=no
IPv6SendRA=yes
[DHCPServer]
PersistLeases=no
PersistLeases=runtime

View File

@@ -29,4 +29,4 @@ IPv6AcceptRA=no
IPv6SendRA=yes
[DHCPServer]
PersistLeases=no
PersistLeases=runtime

View File

@@ -28,4 +28,4 @@ IPv6AcceptRA=no
IPv6SendRA=yes
[DHCPServer]
PersistLeases=no
PersistLeases=runtime