curtin: desktop grub.replace_linux_default False

Grub provides "quiet splash" for GRUB_CMDLINE_LINUX_DEFAULT out of the
box, but curtin rewrites that value and drops both "quiet" and "splash".
On desktop, retain "quiet splash".

This should be configurable via autoinstall if this change is undesired.
This commit is contained in:
Dan Bungert 2024-04-15 15:53:06 -06:00
parent 5226839467
commit ecfe394bd0
1 changed files with 3 additions and 0 deletions

View File

@ -517,6 +517,9 @@ class SubiquityModel:
},
}
if self.source.current.variant == "desktop":
config["grub"]["replace_linux_default"] = False
if os.path.exists("/run/casper-md5check.json"):
with open("/run/casper-md5check.json") as fp:
config["write_files"]["md5check"] = {