Should have found this issue in the search, same problem here: Foreman finish template is not getting resolve when user-data of the image is enabled
Should have found this issue in the search, same problem here: Foreman finish template is not getting resolve when user-data of the image is enabled