[grubcfg] fix syntax

This commit is contained in:
Philip Müller 2018-09-26 22:32:04 +02:00
parent 1f52bfac4e
commit b4ca18177f

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.append = ["loglevel=3", "vga=current", "rd.systemd.show_status=auto",
"rd.udev.log-priority=3", "vt.global_cursor_default=0"]
kernel_params.append = ("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)