Ubuntu 22.04 autoinstall does not retrieve meta-data nor user-data file from mirror but can retreive iso from it

Using one of the posts on the forums i have setup Ubuntu autoinstall.

However when i boot it it does not retrieve either the meta-data or the user-data file even though the new vm is able to reach the mirror we host internally because i can see it downloads the iso without issue.

Is there something i am missing?

contents of our mirror


Below you can also find the preseed auto install file.

kind: PXELinux
name: Preseed default PXELinux Autoinstall
model: ProvisioningTemplate
- ubuntu
- ubuntu_autoinst4dhcp
# This file was deployed via '<%= template_name %>' template
# Supported host/hostgroup parameters:
# blacklist = module1, module2
#   Blacklisted kernel modules
# lang = en_US
#   System locale
  iface = @host.provision_interface
  hostname = @host.name
  mac = @host.provision_interface.mac
  subnet4 = iface.subnet
  subnet6 = iface.subnet6
  options = []

  if host_param('blacklist')
    options << host_param('blacklist').split(',').collect{|x| "#{x.strip}.blacklist=yes"}.join(' ')

  if mac
    # hardware type is always 01 (ethernet) unless specified otherwise
    options << "BOOTIF=#{host_param("hardware_type", "01")}-#{mac.gsub(':', '-')}"
  if subnet4 && subnet4.dhcp_boot_mode?
    options << "ip=dhcp"
  elsif subnet4 && !subnet4.dhcp_boot_mode?
    options << "ip=#{iface.ip}::#{subnet4.gateway}:#{subnet4.mask}:#{hostname}:#{iface.identifier}:none:#{subnet4.dns_primary}:#{subnet4.dns_secondary}"

  options << "locale=#{host_param('lang') || 'en_US'}"
  options = options.join(' ')
  image_path = @preseed_path.sub(/\/?$/, '.iso')
# Foreman will not download the kernel/initramdisk to PXE automatically. Please follow
# the official Ubuntu documentation and extract the files from the LiveCD (DVD) manually
# and optionally update the KERNEL and INITRD lines in this template.
DEFAULT linux cloud-init autoinstall
LABEL linux cloud-init autoinstall
    KERNEL <%= @kernel %>  
    INITRD <%= @initrd %>
    APPEND url=http://<server>/ubuntu/22.04-x86_64.iso autoinstall ds=nocloud-net;s=http://<server>/ubuntu/user-data/ root=/dev/ram0 ramdisk_size=1500000 fsck.mode=skip <%= options %>

<%= snippet_if_exists(template_name + " custom menu") %>

Below you can also find my template settings for Ubuntu

Foreman and Proxy versions:
foreman version 3.5.3

Distribution and version:
Rocky Linux 8.6
Other relevant data:

I have fixed this by finding some small issues in the pxelinux file and using the updated file from the next release of the Foreman