Created
August 7, 2016 16:19
-
-
Save rgl/35d682d97f9a1124e8755714d1c630af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
option space pxelinux; | |
option pxelinux.configfile code 209 = text; | |
option pxelinux.pathprefix code 210 = text; | |
option pxelinux.reboottime code 211 = unsigned integer 32; | |
site-option-space "pxelinux"; | |
if exists dhcp-parameter-request-list { | |
# Always send the PXELINUX options (specified in hexadecimal) | |
option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,d1,d2,d3); | |
} | |
authoritative; | |
default-lease-time 300; | |
max-lease-time 300; | |
option domain-name-servers 8.8.8.8, 8.8.4.4; | |
option subnet-mask 255.255.255.0; | |
option routers 10.10.10.2; | |
subnet 10.10.10.0 netmask 255.255.255.0 { | |
range 10.10.10.100 10.10.10.254; | |
host tcl { | |
# TODO how to match System UUID instead of the MAC address? | |
option dhcp-client-identifier 00:00:00:00:00:00:40:00:80:00:00:00:00:00:00:02; | |
option dhcp-client-identifier "00000000-0000-0040-8000-000000000002"; | |
option dhcp-client-identifier "00000000000040008000000000000002"; | |
#hardware ethernet 08:00:27:00:00:02; | |
option pxelinux.pathprefix "http://10.10.10.2/tcl/"; | |
filename "tcl/lpxelinux.0"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment