Skip to content

Can bootc operate in a more mutable fashion? #1042

Answered by cgwalters
cgwalters asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 2 comments 1 reply

Comment options

cgwalters
Jan 17, 2025
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by cgwalters
Comment options

cgwalters
Jan 17, 2025
Maintainer Author

You must be logged in to vote
1 reply
@defrostediceman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants