eblot / pybootd

A minimalist bootp/dhcp/pxe and tftp server
Other
106 stars 31 forks source link

Added BOOTP VendorID -> FileName Mapping #10

Open tantalum7 opened 7 years ago

tantalum7 commented 7 years ago

Added optional support for mapping BOOTP requests from specific vendorIDs to specific filenames. This is configured by adding a [bootp_mapping] section, and entries for each mapping in the form: vendor_id = filename

For example, to support the multi-stage AM335x BOOTP process: [boot_mapping] AM335x ROM = u-boot-spl-restore.bin AM335x SPL U-BOOT = u-boot-restore.img

If no mapping entry is found for a VendorID, then the filename specified in the [bootp] section is used.