RFC - Systemd first boot service for host provisioning

I’ve reached out via email to the Anaconda developer I had contact with back in 2019 about this. I recall that it was RHEL 8.2 or 8.3 that introduced it. Within Foreman we do have the OS major and minor versions and we can do version checks. That’s how we also dealt with RHEL 5 vs 6 vs 7 etc.

What you describe sounds a lot like the Ansible Tower provisioning callback:

To avoid going off topic I’ve opened a new post: