[grubcfg] fix syntax

This commit is contained in:
Philip Müller 2018-09-26 23:00:19 +02:00
parent d39bd34baf
commit 2e6dd6a075

View File

@ -104,8 +104,9 @@ def modify_grub_default(partitions, root_mount_point, distributor):
kernel_params = ["quiet"]
if os.path.exists(os.path.join(root_mount_point, "usr/bin/grub-set-bootflag")):
kernel_params.append("loglevel=3 vga=current rd.systemd.show_status=auto \
rd.udev.log-priority=3 vt.global_cursor_default=0")
grub_params = ["loglevel=3", "vga=current", "rd.systemd.show_status=auto",
"rd.udev.log-priority=3", "vt.global_cursor_default=0"]
kernel_params.append(grub_params)
if cryptdevice_params:
kernel_params.extend(cryptdevice_params)