plugin_bootloader: make grub.cfg runtime patching format consistent with grub2-mkconfig
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
8fc93e7453
commit
23de6cfc18
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ class BootloaderPlugin(base.Plugin):
|
|||
|
||||
def _remove_grub2_tuning(self):
|
||||
self._patch_bootcmdline("")
|
||||
self._cmd.replace_in_file(self._grub2_cfg_file, r"\b(set " + consts.GRUB2_TUNED_VAR + r"\s*=).*$", r"\1")
|
||||
self._cmd.replace_in_file(self._grub2_cfg_file, r"\b(set " + consts.GRUB2_TUNED_VAR + r"\s*=).*$", r"\1" + "\"\"")
|
||||
|
||||
def _instance_unapply_static(self, instance, profile_switch = False):
|
||||
if profile_switch:
|
||||
|
|
|
|||
Loading…
Reference in a new issue