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";