I am good with default_min_hwe_kernel. That will make it consistent.
"global_" was not consistent.
On Fri, Oct 23, 2015 at 11:38 AM, Andres Rodriguez <email address hidden>
wrote:
> Review: Needs Information
>
> nevermind comment 2. I'd only like to discuss the global_min_hwe_kernel,
> or it should at least be default_min_hwe_kernel
>
> Diff comments:
>
> > === modified file 'src/maasserver/api/pxeconfig.py'
> > --- src/maasserver/api/pxeconfig.py 2015-09-08 18:41:57 +0000
> > +++ src/maasserver/api/pxeconfig.py 2015-10-23 07:37:11 +0000
> > @@ -227,6 +227,10 @@
> > # we give precedence to any kernel defined in the
> subarchitecture field
> > if subarch == "generic" and node.hwe_kernel:
> > subarch = node.hwe_kernel
> > + elif(subarch == "generic"
> > + and node.get_boot_purpose() == "commissioning"
> > + and node.min_hwe_kernel):
> > + subarch = node.min_hwe_kernel
>
> nevermind this comment, I see in the code belowe this is being addressed
>
> > else:
> > nodegroup = find_nodegroup_for_pxeconfig_request(request)
> > preseed_url =
> compose_enlistment_preseed_url(nodegroup=nodegroup)
>
>
> --
>
> https://code.launchpad.net/~ltrager/maas/global_min_hwe_kernel/+merge/275477
> You are reviewing the proposed merge of
> lp:~ltrager/maas/global_min_hwe_kernel into lp:maas.
>
I am good with default_ min_hwe_ kernel. That will make it consistent.
"global_" was not consistent.
On Fri, Oct 23, 2015 at 11:38 AM, Andres Rodriguez <email address hidden>
wrote:
> Review: Needs Information min_hwe_ kernel, min_hwe_ kernel /api/pxeconfig. py' api/pxeconfig. py 2015-09-08 18:41:57 +0000 api/pxeconfig. py 2015-10-23 07:37:11 +0000 boot_purpose( ) == "commissioning" hwe_kernel) : for_pxeconfig_ request( request) enlistment_ preseed_ url(nodegroup= nodegroup) /code.launchpad .net/~ltrager/ maas/global_ min_hwe_ kernel/ +merge/ 275477
>
> nevermind comment 2. I'd only like to discuss the global_
> or it should at least be default_
>
> Diff comments:
>
> > === modified file 'src/maasserver
> > --- src/maasserver/
> > +++ src/maasserver/
> > @@ -227,6 +227,10 @@
> > # we give precedence to any kernel defined in the
> subarchitecture field
> > if subarch == "generic" and node.hwe_kernel:
> > subarch = node.hwe_kernel
> > + elif(subarch == "generic"
> > + and node.get_
> > + and node.min_
> > + subarch = node.min_hwe_kernel
>
> nevermind this comment, I see in the code belowe this is being addressed
>
> > else:
> > nodegroup = find_nodegroup_
> > preseed_url =
> compose_
>
>
> --
>
> https:/
> You are reviewing the proposed merge of
> lp:~ltrager/maas/global_min_hwe_kernel into lp:maas.
>