mirror of
https://github.com/BluemediaGER/homelab.git
synced 2024-11-14 16:35:29 +01:00
20 lines
700 B
Django/Jinja
20 lines
700 B
Django/Jinja
option space pxelinux;
|
|
option pxelinux.magic code 208 = string;
|
|
option pxelinux.configfile code 209 = text;
|
|
option pxelinux.pathprefix code 210 = text;
|
|
option pxelinux.reboottime code 211 = unsigned integer 32;
|
|
option architecture-type code 93 = unsigned integer 16;
|
|
|
|
subnet {{ subnet }} netmask {{ netmask }} {
|
|
option routers {{ gateway }};
|
|
range {{ subnet | ansible.utils.ipmath(3) }} {{ subnet | ansible.utils.ipmath(254) }};
|
|
|
|
class "pxeclients" {
|
|
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
|
|
next-server {{ ansible_default_ipv4.address }};
|
|
|
|
if option architecture-type = 00:07 {
|
|
filename "grubx64.efi";
|
|
}
|
|
}
|
|
} |