Foreman Ubuntu Netboot problem

Problem:
I am trying to setup a netboot provisioning of Ubuntu 22.04 using the livecd.iso mount but I seem to be having an issue with establishing a network connection on the boot. During the boot process the server waits for net0 for 180 secs but it doesn’t seem to connect. Then it has an issue downloading the ISO since it cannot establish a network connection. See screen capture below. I need help in determining what I am doing wrong.

Expected outcome:
PXE boot doesn’t mount the ISO

Foreman and Proxy versions:
3.8.0

Foreman and Proxy plugin versions:
3.8.0

Distribution and version:
Rocky Linux 8.9

Other relevant data:

There appears to be a space in the URL, which will not work (between your server name and the :443). You need to check your template to see if you accidentally included a space. It’s possible a space was also introduced when you configured your URL for the ‘media’.

My template uses this:

http://<%= @preseed_server %><%= @preseed_path %>

which renders to this:

http://ourserver.ourdomain.com:80/isos/20.04.6/ubuntu-20.04.6-live-server-amd64.iso

…as an example.

I censored that image to hide my real domain from the post. The actual error doesn’t have any spaces. I think my probelm seems to be that my foreman server is using https and the URL is using http. I tried to update this in the template but it didn’t seem to update.