- Create image using ImageFactory (and initialize ostree in %post)
This is possible, but in the realm of options which range from:
1) Hack up current rpm-ostree direct .qcow2 generation code
2) ImageFactory with custom %post
3) Anaconda support
I'd rather at least *attempt* to go straight from #1 to #3.
If anyone wants to play around with #2 though, the relevant code is here:
One thing that's pretty important to understand about all of this is that OSTree needs to own writing the bootloader configuration - not anaconda, not grubby out of a %post. That's how the atomic upgrades work.
So you can see the code above creates a "stub" extlinux configuration, and then "ostree admin deploy" will end up updating it.
_______________________________________________ cloud mailing list cloud@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/cloud Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct