The ubuntu 22 mirror is created in Foreman but the location of the iso and uncompressed iso is on a repo server.
Location for the mirror on Foreman is as follows- www.repo.example.com/ubuntu/ubuntu_22.04/
Uncompressed iso: www.repo.example.com/ubuntu/ubuntu_22.04/<uncompressed_iso>
ISO location: www.repo.example.com/ubuntu/ubuntu_22.04.iso
I followed this link to uncompressing the iso
I also want to make a note that I tried putting the user data in a static location on the repo server and the build was working eg
ds=nocloud;s=http://repo.example.com/userdata/ ← has both meta-data and user-data
Sadly I have to go through Foreman