Re-provisioning host that obtains a different IP to the one in the host record in foreman

Hi,

I am attempting to re-provision (build) a host that has previously been built, during the pxe phase the IP address changes from the one in the host record in foreman (it swaps vlan as part of our freeradius setup). As a result when the install gets to obtaining the userdata file from foreman it complains about:

Started GET “/userdata/meta-data?url=http%3A%2F%2F%3A8000” for <10.x.x.x> at 2025-07-02 13:31:40 +0000
Processing by UserdataController#metadata as TEXT
Parameters: {“url”=>“http://:8000”, “userdatum”=>{}}
Could not find host for request <10.x.x.x>

Is there a way to work around this?

Foreman version: 3.13.0

Many Thanks,
Tania