teuthology: kernel task won't downgrade
|Assignee:||Tommi Virtanen||% Done:|
update-grub sorts kernels in descending order, so it will always boot the first one. Unless you put the default=N in the /etc/default/grub, in which case it will boot the Nth kernel.
The kernel task just assumes the most recently installed kernel will be the one.
It should probably loop and uninstall any kernels newer than the one it wants.
#6 Updated by Tommi Virtanen almost 2 years ago
- Status changed from New to Closed
Author: Tommi Virtanen <email@example.com>
Date: 2011-08-10 13:40:00 -0700
Configure grub to default to the right kernel, not the greatest installed one.
This is sticky; that is, even if you install other kernels (manually/via fab/etc),
grub will keep booting up the one that was last enabled via teuthology config.
Use teuthology to switch kernels and it'll just work.
If the kernel the grub default points to is removed, grub will fall back to
booting the kernel with the greatest version number.