Extra kernel opts are separated by ---, not -- in MAAS
Bug #1654853 reported by
Marius Žalinauskas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Expired
|
Medium
|
Unassigned |
Bug Description
compose_
As get_extra_
Changed in maas-images: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.
I see the comment states
```
def get_curtin_ kernel_ cmdline_ sep(): KERNEL_ CMDLINE_ NAME, '--')
"""Return the separator for passing extra parameters to the kernel."""
return getattr(
curtin, CURTIN_
... kernel_ cmdline_ sep()
...
cmdline_sep = get_curtin_
if params.extra_opts:
# Using --- before extra opts makes both d-i and Curtin install
# them into the grub config when installing an OS, thus causing
# the options to "stick" when local booting later.
# see LP: #1402042 for info on '---' versus '--'
```
We should be good. Feel free to reopen in case I misunderstood this bug