← Back to team overview

maas-devel team mailing list archive

Re: Passing kernel params to Curtin?

 

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@xxxxxxxxxxxxx>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@xxxxxxxxxxxxx> 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.
>


Follow ups

References