1
0
Fork 0

plugin_systemd: on full_rollback notify about need of initrd regeneration

Resolves: rhbz#1469258

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2017-08-29 13:48:14 +02:00
parent bccfe3e8d1
commit d2c170a42e
No known key found for this signature in database
GPG key ID: D8E1C00E076E840B

View file

@ -99,6 +99,7 @@ class SystemdPlugin(base.Plugin):
if full_rollback: if full_rollback:
log.info("removing '%s' systemd tuning previously added by Tuned" % consts.SYSTEMD_CPUAFFINITY_VAR) log.info("removing '%s' systemd tuning previously added by Tuned" % consts.SYSTEMD_CPUAFFINITY_VAR)
self._remove_systemd_tuning() self._remove_systemd_tuning()
log.info("you may need to manualy run 'dracut -f' to update the systemd configuration in initrd image")
# convert cpulist from systemd syntax to Tuned syntax and unpack it # convert cpulist from systemd syntax to Tuned syntax and unpack it
def _cpulist_convert_unpack(self, cpulist): def _cpulist_convert_unpack(self, cpulist):