Tftpd-hpa and mayflies

I’m trying to set up tftpd-hpa with a mapfile, which I need because I’m trying to use it to PXE boot Windows systems, which of course uses the "" as the path separator.

Per the docs for the app, I try to set the MAPFILE environment variable, but when I do that I get the following error:

base_v2_1_2.error.RenderError: Environment variable [MAPFILE] is already defined from the application developer.

Does anyone have a workaround?

Couldn’t edit my post, but I need to remap the “\” path separator requested by Windows with the Unix “/”.

I ended up just rolling a custom app using the original Docker container this app was derived from. Super straightforward, worked like a charm.