Ok, an update from me; once you layer dracut-network, and --enable initramfs, it does build and try to include sshd into the initramfs, but it fails to include the /root/.ssh/authorized_keys even tho there is one in the root directory.
oct 10 21:55:13 sulaco.lan rpm-ostree[21924]: dracut: No authorized_keys for root user found!
sudo ls -l /root/.ssh/authorized_keys
-rw-------. 1 root root 11986 10 oct 20:33 /root/.ssh/authorized_keys
My guess would be that /root/.ssh isn’t visible in the dracut phase, so, that would explain why it doesn’t work.
Any idea why is that?