On Tue, Nov 30, 2021 at 10:43:24PM +0200, Alexander Bokovoy wrote:
I don't like this approach, it mixes too much of
Cockpit-specific
assumptions here into the configuration that should be as neutral as
possible.
Okay, fair enough.
in the configuration is needed. E.g. 'After pressing the button
below,
your smb.conf will be backed up and registry configuration will be
enabled' -- after checking that existing smb.conf is compatible with
your mode of operation (e.g. that it does not have any of incompatible
server roles).
How about just back up and _replace_ the smb.conf a whole new one, noting
clearly that automatic configuration in this way will do that, and that if
you want to have it do more complicated things, you'll need to handle it by
hand.
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader