[grubcfg] fix syntax

This commit is contained in:
Philip Müller 2018-09-26 22:43:28 +02:00
parent b48a026061
commit 4f8309d41c

View File

@ -104,8 +104,8 @@ 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.extend("loglevel=3", "vga=current", "rd.systemd.show_status=auto",
"rd.udev.log-priority=3", "vt.global_cursor_default=0")
kernel_params.adapted("loglevel=3 vga=current rd.systemd.show_status=auto \
rd.udev.log-priority=3 vt.global_cursor_default=0")
if cryptdevice_params:
kernel_params.extend(cryptdevice_params)