mirror of
https://github.com/BluemediaGER/homelab.git
synced 2024-11-23 03:15:29 +01:00
Change usage of deprecated ipmath module
This commit is contained in:
parent
04ae8866f7
commit
6dc08a26f4
|
@ -7,7 +7,7 @@ option architecture-type code 93 = unsigned integer 16;
|
||||||
|
|
||||||
subnet {{ subnet }} netmask {{ netmask }} {
|
subnet {{ subnet }} netmask {{ netmask }} {
|
||||||
option routers {{ gateway }};
|
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" {
|
class "pxeclients" {
|
||||||
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
|
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
|
||||||
|
|
Loading…
Reference in a new issue