-
Again, proxying a question asked in a live chat:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This came up in a RHT internal discussion a while back. It would be possible yes...however, did you investigate setting transient root? https://containers.github.io/bootc/filesystem.html#enabling-transient-root If you don't need dnf upgrade kernel and such to persist across reboot, then I think one can get pretty far at letting usual ansible/chef style workflows to operate. One thing some people do is embed ansible playbooks (or equivalent) in their image, that run on first boot each time. This can be a useful stepping stone - move the config management you can to build time, keep the stuff that needs runtime specific config (e.g. something parsing MAC addresses or contacting an inventory server) at runtime. |
Beta Was this translation helpful? Give feedback.
-
That said, we could add a mode to Only a few bits of bootc would be used here; mostly the bootloader writing parts, etc. It'd basically be the It honestly would likely be relatively straightforward to do. It's just more the longer term cost of supporting it and adding another option into our already complex matrix. My hope is that transient root provides enough of a bridge for people who want this today instead. |
Beta Was this translation helpful? Give feedback.
This came up in a RHT internal discussion a while back. It would be possible yes...however, did you investigate setting transient root? https://containers.github.io/bootc/filesystem.html#enabling-transient-root If you don't need dnf upgrade kernel and such to persist across reboot, then I think one can get pretty far at letting usual ansible/chef style workflows to operate. One thing some people do is embed ansible playbooks (or equivalent) in their image, that run on first boot each time. This can be a useful stepping stone - move the config management you can to build time, keep the stuff that needs runtime specific config (e.g. something parsing MAC addresses or contacting an inventory…