[pve-devel] [PATCH v4 pve-manager 17/33] sdn: regenerate DHCP config on reload

Stefan Hanreich s.hanreich at proxmox.com
Fri Nov 17 12:39:55 CET 2023


Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 PVE/API2/Network.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm
index 00d964a79..f39f04f52 100644
--- a/PVE/API2/Network.pm
+++ b/PVE/API2/Network.pm
@@ -660,6 +660,7 @@ __PACKAGE__->register_method({
 
 	    if ($have_sdn) {
 		PVE::Network::SDN::generate_zone_config();
+		PVE::Network::SDN::generate_dhcp_config();
 	    }
 
 	    my $err = sub {
-- 
2.39.2





More information about the pve-devel mailing list