@Andrew134 I’m glad yo have it worked out.
FWIW: By default the P5510s are in uefi mode and has secure boot enabled. You can leave the P5510s in uefi mode if you disable secure boot (required for everything uefi that will be imaged by FOG) and send the uefi iPXE menu kernel to the uefi system “ipxe.efi” this is mandatory for all uefi systems not just the 5510.