diff --git a/kiwi/bootloader/config/grub2.py b/kiwi/bootloader/config/grub2.py
index ea72fa7fb7..6dac1bd971 100644
--- a/kiwi/bootloader/config/grub2.py
+++ b/kiwi/bootloader/config/grub2.py
@@ -941,13 +941,13 @@ def _setup_chrp_config(self, mbrid):
chrp_dir = os.path.normpath(os.sep.join([self.boot_dir, 'ppc']))
Path.create(chrp_dir)
chrp_bootinfo_file = os.sep.join([chrp_dir, 'bootinfo.txt'])
- chrp_config = dedent('''
-
- {os_name}
- {os_name}
- boot &device;:1,\\boot\\grub2\\powerpc-ieee1275\\grub.elf
-
- ''')
+ chrp_config = dedent(
+ '''
+{os_name}
+{os_name}
+boot &device;:1,\\boot\\grub2\\powerpc-ieee1275\\grub.elf
+
+''')
with open(chrp_bootinfo_file, 'w') as chrp_bootinfo:
chrp_bootinfo.write(
chrp_config.format(os_name=self.get_menu_entry_install_title())
diff --git a/test/data/bootinfo.txt b/test/data/bootinfo.txt
index 1988b467b1..53cbac8cf0 100644
--- a/test/data/bootinfo.txt
+++ b/test/data/bootinfo.txt
@@ -1,4 +1,3 @@
-
Bob
Bob