Installs from a curtinator-created image use latest kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtinator |
Triaged
|
High
|
Unassigned |
Bug Description
MAAS causes nodes it deploys to download and install the latest kernel. (This is done by the /usr/lib/
Currently, our workaround has been to patch curtinator's data/preseed.txt file to download an override script to be installed in the image (at /target/
http://
http://
A cleaner solution would be to have curtinator place /target/
Of course, this assumes that the intent of curtinator is to give the user complete control over the software to be installed, including the kernel version. If the intent is that MAAS's behavior with respect to the kernel be honored, then this isn't really a bug.
I think curtin is pretty stable and placing a hook in the image itself (/curtin/ curtin- hooks) is a reasonable approach, not much of a chance of curtin changes affecting us.
curtinator could do this directly on the received tarball, we have more flexibility and control than what can be achieved in the preseed.
I hadn't noticed this behavior since at the moment, all I've been doing is ensuring that the system boots correctly after maas provisioning; but for our use case, we also want to boot with the image's own kernel, for certification purposes (although for certification we mostly care about the latest point release so it may not be such a big issue for us).