Merge ~smoser/curtin:fix/1527664-grub-cmdline-linux-default-in-default-grub into curtin:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Scott Moser |
Approved revision: | a232743c8f653414a2db15318e555cd2116114fe |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~smoser/curtin:fix/1527664-grub-cmdline-linux-default-in-default-grub |
Merge into: | curtin:master |
Diff against target: |
103 lines (+53/-5) 2 files modified
helpers/common (+50/-5) tests/vmtests/__init__.py (+3/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser (community) | Approve | ||
Ryan Harper (community) | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+359871@code.launchpad.net |
Commit message
Adjust helpers/common to edit GRUB_CMDLINE_
This will help us avoid hitting upgrade prompts as seen
and described in bug 564853. The change here is only to move
GRUB_CMDLINE_
/etc/default/
Currently, other changes will still to into 50-curtin-
Also collect /etc/default/grub files to artifacts and fix small issue
that resulted in the carryover args having an additional white space
at the end.
LP: #1527664
Description of the change
see commit message
To post a comment you must log in.
tempted to write the shell parser in python and either
a.) have the helper call 'curtin edit-shell-file /etc/default/grub ...'
b.) have curtin python code edit the file itslef and drop that function from install-grub
if 'b', we'd have to do the change before calling 'install-grub' so that changes would
be seen.