Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Abillity to reset /etc #427

Closed
dnkmmr69420 opened this issue Nov 16, 2023 · 1 comment
Closed

feat: Abillity to reset /etc #427

dnkmmr69420 opened this issue Nov 16, 2023 · 1 comment

Comments

@dnkmmr69420
Copy link

There really needs to be a way to reset /etc to the default (except for a few files like fstab, passwd, and shadow). A good way to detect what needs to be reset is using the command sudo ostree admin config-diff which lists what has been deleted, modified, or added to /etc. The reset function should make a new deployment with the reset /etc. There could be a bash script or possibly a python script that does the function called reset-etc in /usr/sbin which needs to be ran by sudo. It could also be activated by ujust reset-etc which would run sudo reset-etc.

@castrojo
Copy link
Member

This looks like: #95

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants