When PXE booting RHEL7 or OLE7 with UEFI it seems that the grub2-mkconfig command that gets ran to generate the grub.cfg file has a path which is hard-coded to centos.
12:19:44,634 INFO program: Running... grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
12:19:44,989 INFO program: /sbin/grub2-mkconfig: line 244: /boot/efi/EFI/centos/grub.cfg.new: No such file or directory
12:19:44,989 DEBUG program: Return code: 1
This causes both RHEL and OLE installs to fail with the error "failed to write to bootloader".
When PXE booting RHEL7 or OLE7 with UEFI it seems that the grub2-mkconfig command that gets ran to generate the grub.cfg file has a path which is hard-coded to centos.
This causes both RHEL and OLE installs to fail with the error "failed to write to bootloader".