Skip to content

Commit

Permalink
curtin: desktop grub.replace_linux_default False
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dbungert committed Apr 15, 2024
1 parent 5226839 commit ecfe394
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions subiquity/models/subiquity.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,9 @@ def render(self):
},
}

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"] = {
Expand Down

0 comments on commit ecfe394

Please sign in to comment.