From 6dc08a26f4f21029fbe08705543ddf1848d035b0 Mon Sep 17 00:00:00 2001 From: BluemediaGER Date: Sat, 14 May 2022 17:39:31 +0200 Subject: [PATCH] Change usage of deprecated ipmath module --- metal/roles/pxe-server/templates/dhcpd.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metal/roles/pxe-server/templates/dhcpd.conf.j2 b/metal/roles/pxe-server/templates/dhcpd.conf.j2 index b455f5e..31ff00d 100644 --- a/metal/roles/pxe-server/templates/dhcpd.conf.j2 +++ b/metal/roles/pxe-server/templates/dhcpd.conf.j2 @@ -7,7 +7,7 @@ option architecture-type code 93 = unsigned integer 16; subnet {{ subnet }} netmask {{ netmask }} { option routers {{ gateway }}; - range {{ subnet | ansible.netcommon.ipmath(3) }} {{ subnet | ansible.netcommon.ipmath(254) }}; + range {{ subnet | ansible.utils.ipmath(3) }} {{ subnet | ansible.utils.ipmath(254) }}; class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";