-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
area/etc-varIssues related to persistent state (/etc and /var)Issues related to persistent state (/etc and /var)area/installIssues related to `bootc install`Issues related to `bootc install`enhancementNew feature or requestNew feature or request
Description
#137 is tracking part of this, a lot of related discussion in coreos/fedora-coreos-tracker#399
Basically we should support something like bootc install factory-reset
that would configurably wipe local system state.
On the implementation side...I think the best way to do this would be something like:
- Create new deployment with fresh
etc
targeting a new stateroot - Boot into it
- optional: clean up old deployment + stateroot
The beauty of this approach is that the "factory reset" would actually also be fully transactional, i.e. you could roll back into the previous state. It'd be easy to copy over any desired state (SSH host keys, cached container images e.g.) from the previous boot before deleting it.
Active work
Malix-Labs, xynydev, tulilirockz, LukeShortCloud, lucamaf and 7 more
Metadata
Metadata
Assignees
Labels
area/etc-varIssues related to persistent state (/etc and /var)Issues related to persistent state (/etc and /var)area/installIssues related to `bootc install`Issues related to `bootc install`enhancementNew feature or requestNew feature or request