Instead of getting build it locally boots

Problem:

2023-09-13T12:39:42 1917c381 [I] Started POST /tftp/fetch_boot_file
2023-09-13T12:39:42 1917c381 [I] Finished POST /tftp/fetch_boot_file with 200 (0.85 ms)
2023-09-13T12:39:42 1917c381 [I] [4888] Started task /usr/bin/curl\ –silent\ –show-error\ –connect-timeout\ 10\ –retry\ 3\ –retry-delay\ 10\ –max-time\ 3600\ –remote-time\ –time-cond\ /var/lib/tftpboot/boot/centos7-os-x86_64-117-vmlinuz\ –write-out\ Task\ done,\ result:\ %{http_code},\ size\ downloaded:\ %{size_download}b,\ speed:\ %{speed_download}b/s,\ time:\ %{time_total}ms\ –output\ /var/lib/tftpboot/boot/centos7-os-x86_64-117-vmlinuz\ –location\ http://vmprle2frmn01.na.odcorp.net/pulp/content/RETAIL/DEV/Register/custom/CentOS_7_Linux_for_x86_64/CentOS7-OS-x86_64//images/pxeboot/vmlinuz
2023-09-13T12:39:42 1917c381 [I] Started POST /tftp/fetch_boot_file
2023-09-13T12:39:42 1917c381 [I] Finished POST /tftp/fetch_boot_file with 200 (0.91 ms)
2023-09-13T12:39:42 1917c381 [I] [4892] Started task /usr/bin/curl\ –silent\ –show-error\ –connect-timeout\ 10\ –retry\ 3\ –retry-delay\ 10\ –max-time\ 3600\ –remote-time\ –time-cond\ /var/lib/tftpboot/boot/centos7-os-x86_64-117-initrd.img\ –write-out\ Task\ done,\ result:\ %{http_code},\ size\ downloaded:\ %{size_download}b,\ speed:\ %{speed_download}b/s,\ time:\ %{time_total}ms\ –output\ /var/lib/tftpboot/boot/centos7-os-x86_64-117-initrd.img\ –location\ http://vmprle2frmn01.na.odcorp.net/pulp/content/RETAIL/DEV/Register/custom/CentOS_7_Linux_for_x86_64/CentOS7-OS-x86_64//images/pxeboot/initrd.img
2023-09-13T12:41:37 a173ea26 [I] Started GET /unattended/iPXE bootstrap=1
2023-09-13T12:41:38 a173ea26 [I] Finished GET /unattended/iPXE with 200 (97.37 ms)

It just boots from the local HDD even though it’s contacting the foreman

Expected outcome:

It should build from the network using PXE and install the Image

Foreman and Proxy versions:
Foreman 3.2.1

Foreman and Proxy plugin versions:

Distribution and version:

Cent OS 7

I would make sure secureboot is disabled in the bios on the client. That can be unreliable in my experience doing non-RHEL open source distros. Often it will refuse to boot into the downloaded kernel and just reboot the box.

The problem is that the same host gets build when we try it from our old foreman server without any issue now we have another foreman server which is goving that error

Thanks Community my issue has been resolved a huge task for me
Appreciated all the help