Make sure we write the kernel config line anyway.
This commit is contained in:
parent
41e7a9ae3c
commit
a977b1ea40
@ -110,6 +110,7 @@ def modify_grub_default(partitions, root_mount_point, distributor):
|
|||||||
lines.append("{!s}=\"{!s}\"".format(key, escaped_value))
|
lines.append("{!s}=\"{!s}\"".format(key, escaped_value))
|
||||||
|
|
||||||
if not have_kernel_cmd:
|
if not have_kernel_cmd:
|
||||||
|
kernel_cmd = "GRUB_CMDLINE_LINUX_DEFAULT=\"{!s}\"".format(" ".join(kernel_params))
|
||||||
lines.append(kernel_cmd)
|
lines.append(kernel_cmd)
|
||||||
|
|
||||||
if not have_distributor_line:
|
if not have_distributor_line:
|
||||||
|
Loading…
Reference in New Issue
Block a user