socallinuxexpo / scale-network

SCaLE's on-site expo network configurations, wifi, tooling, and scripts
https://www.socallinuxexpo.org/
BSD 3-Clause "New" or "Revised" License
46 stars 19 forks source link

aplist conversion file throws away the first line #494

Closed davidelang closed 8 months ago

davidelang commented 2 years ago

the conversion from aplist.csv to dhcpd.conf.hosts assumes the first line is a header and throws it away.

it should do sanity checking to see if it is a header or data and only ignore it if it's a header

owendelong commented 2 years ago

Preferred behavior IMHO is to have a comment character or leadin (e.g. # or // or ;) and have the parser strip those in the first pass. Header should be expressed as a comment.

owendelong commented 8 months ago

Has this been resolved at this point?

sarcasticadmin commented 8 months ago

I would agree with @owendelong

We can close this as the process for generating the kea.conf has dramatically changed since we were using isc-dhcpd and dhcpd.conf