From: | "Peter Lewis" <plewis@grailbio.com> |
To: | dhcp-bugs@isc.org |
Date: | Thu, 25 Jan 2018 14:23:16 -0800 |
Subject: | option configfile validation error |
validation comand:
dhcpd -t -cf /etc/dhcp/dhcpd.conferror:
/etc/dhcp/dhcpd.conf line 3: unknown option dhcp.configfile
option configfile "pxelinux.cfg/config1"
^
Config file:
host test1 {
option configfile "pxelinux.cfg/config1";
hardware ethernet 00:00:00:00:00:01;
fixed-address 10.10.10.10;
option host-name "test1";
}
host test2 {
option configfile "pxelinux.cfg/config2";
hardware ethernet 00:00:00:00:00:02;
fixed-address 10.10.10.11;
option host-name "test2";
}
The "option configfile" has been working well to give out DHCP option 209 to our pxe clients for auto deployments, however, when it is in our config file the validation fails. Rendering our auto-configuration scripts useless.