From 65735387be251c2eb89dc1c975cc4c080fff3442 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 18 Aug 2025 10:29:55 +0200 Subject: [PATCH] fix: add id with a loop index --- templates/kea-dhcp4.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/kea-dhcp4.conf.j2 b/templates/kea-dhcp4.conf.j2 index 412c37c..7d74c29 100644 --- a/templates/kea-dhcp4.conf.j2 +++ b/templates/kea-dhcp4.conf.j2 @@ -14,6 +14,7 @@ "subnet4": [ {% for subnet in kea_dhcp_subnets %} { + "id": {{ loop.index }}, "subnet": "{{ subnet.subnet }}", "pools": [ {