diff --git a/kiwi/bootloader/config/grub2.py b/kiwi/bootloader/config/grub2.py index dcd03534f83..171690d600a 100644 --- a/kiwi/bootloader/config/grub2.py +++ b/kiwi/bootloader/config/grub2.py @@ -1441,9 +1441,10 @@ def _fix_grub_loader_entries_boot_cmdline(self): for menu_entry_file in glob.iglob(loader_entries_pattern): with open(menu_entry_file) as grub_menu_entry_file: menu_entry = grub_menu_entry_file.read() + # Made append only menu_entry = re.sub( r'options (.*)', - r'options {0}'.format(self.cmdline), + r'options \1 {0}'.format(self.cmdline), menu_entry ) with open(menu_entry_file, 'w') as grub_menu_entry_file: