I managed to run Fedora CoreOS via iPXE directly from RAM, without installing it on the local disk.
I configure a couple of things by using Ignition, like data persistence for the containers directory and home, etc. by following the documentation.
Great. I’m satisfied.
Obviously, at each reboot, as stated also in the docs, Fedora CoreOS live environment does not store any state on disk, and is reprovisioned from scratch on every boot. That’s fine.
The only annoyance I’m still unable to avoid are ssh host keys: on each reboot, new server keys are generated.
I tried to place the corresponding files using ignition
Apart tinkering with systemd or the like, does CoreOS already provides a way to manage SSH host keys in a scenario like a live environment? Or in any case, a way to provide these files.
Nice to meet you PXE aficionado !
I agree with you, I did a lot of “crash and learn” with live env. and ssh server fingerprints are still waiting …
As you can imagine, this post is to stay in touch with any solutions …
Cheers
Thank you @vwbusguy, but the butane file (the snippet in my post) is actually translated to ignition syntax (by butane --pretty --strict example.bu > example.ign) in the data URL scheme that you are suggesting.