Ask Your Question

Reproducible installation

asked 2018-03-30 23:50:10 -0500

galan gravatar image

Hi All,

So, I'm at my wit's end. I'm preparing to perform an upgrade to the upcoming f28 but I want to start automating this process such that I can reproduce my desktop (i.e., apps + configs). Kickstart seems to have two big issues: it doesn't support changes to config and it requires the admin to specify all the changes rather than a diff against base. Similarly, all of the methods I've found which could, ideally, work (ansible, puppet, etc), require me to regurgitate the changes I've made. Is anyone aware of a tool that will diff my installation and produce the correct configs and apps for reinstall? Failing that, is anyone aware of a tool that will monitor my install and note user initiated changes to rpmdb|flatpak|$whatevah and /etc|/home|/$youKnow?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-31 06:36:22 -0500

villykruse gravatar image

If you use the recommended upgrade procedure, then your settings will be preserved. See for the documentation of this process.

edit flag offensive delete link more


And that's what I've been using for the last couple of updates. As a result, there's cruft that's gathered to the point where I need to perform a clean install. My question is motivated by that situation, so that I can easily replicate my setup starting from a known clean state.

galan gravatar imagegalan ( 2018-04-03 02:54:11 -0500 )edit

That info was missing in the original question.

There is no easy way to tell the difference between cruft and valuable settings in for example the /etc directory. You can use find /etc -exec rpm -qf {} + to get a list of files are not owned by packages. Half of those or more are configuration files you still need, for example printer configuration files. The etckeeper can keep track of any changes of any file in the /etc directory. After a clean install I don't think this would be very useful.

villykruse gravatar imagevillykruse ( 2018-04-03 05:05:54 -0500 )edit

Question Tools


Asked: 2018-03-30 23:50:10 -0500

Seen: 91 times

Last updated: Mar 31 '18