The first patch adds the initial-setup-reconfiguration.service which starts
initial-setup.service if /.unconfigured exists.
The IS-side machinery then runs it in the reconfig mode due to the /.unconfigured trigger
file being found. It also takes care of enabling of cleaning up the trigger file once
done.
The second patch is just some cleanups and logging improvements I did when working on the
first patch.
BTW, for this to work the initial-setep-reconfiguration.service needs to be always
enabled.That effectively means the service needs to be added to the systemd presets file
to assure it is automatically enabled when the initial-setup package is installed.
--
To view this pull request on github, visit
https://github.com/rhinstaller/initial-setup/pull/12