[Maas-devel] Passing kernel params to Curtin?

Scott Moser scott.moser at canonical.com
Thu Jan 30 16:26:33 UTC 2014


On Thu, 30 Jan 2014, Andres Rodriguez wrote:

> Hi Scott,
>
> The way d-i does it is like:
>
> d-i debian-installer/add-kernel-opts string
>
> So I don't know whether curtin will.

so there is no way to that.  The behavior present (which seems sufficient
in most cases) is to copy any params from the booted kernel that come
after a '--'.  If there is no '--', it will copy off 'console=' parameters
also.

Is there a reason you'd boot the installer with one set of parameters but
need additional ones for the installed system? I'm sure there are some,
but generally think that using the same set in both cases would work
right.

all that said, it can be added as a feature to curtin.

>
>
> On Thu, Jan 30, 2014 at 6:58 AM, Scott Moser <scott.moser at canonical.com>wrote:
>
> > I think it's the same as d-i.
> > Anything you pass after -- should be copied to installed system.
> >
> > On January 30, 2014 2:19:23 AM EST, Julian Edwards <
> > julian.edwards at canonical.com> wrote:
> >>
> >> Hey guys,
> >>
> >> We found a MAAS bug where kernel options are only getting passed when we pxe
> >> boot, but not local boot.
> >>
> >> How do we get these params into the Curtin installer so they persist in
> >> grub.cfg?
> >>
> >> The fix for d-i is easy and well documented.
> >>
> >> Cheers.
> >>
> >>
>
>
> --
> Andres Rodriguez
> Engineering Manager, HWE Team
> Canonical USA, Inc.
>




More information about the Maas-devel mailing list