I try to understand Foreman and other deployment/provisioning systems, and how to use them best. Granted, installing the OS with some kind of prepared answers and scripts – Kickstart, AutoYAST etc. – is the best way for the majority of cases.
But when you want to deploy the same system to bare metal and to the cloud, you’re back to images for the cloud part (optimally, constructed through a script, so you have the advantages of treating image construction as code). Now consider that your bare metal is all of the same type; would it not make sense to deploy the cloud image to bare metal, too?
Having some kind of PXE system that pulls the disk image from some place, runs some scripts similar to cloud-init, and reboots? Such a system could even be useful for other provisioning systems. Yet I do not find any of the sort, not even discussions about it, which indicates to me that I am on the wrong path. The FOG project or DRBL might be candidates, but no one seems to write about using them with Foreman?