I installed linux-azure kernel on my Ubuntu 20.04 Focal Fossa VMS that run on hypervs.
The problem is I also have unattended upgraded configured and I noticed it upgrades the kernel to linux-generic instead of updating the linux-azure already installed. So I end up with a machine with linux-generic at next reboot:
reboot system boot 5.4.0-37-generic Wed Jun 24 13:08 still running
reboot system boot 5.4.0-37-generic Wed Jun 24 13:07 - 13:08 (00:00)
reboot system boot 5.4.0-37-generic Wed Jun 24 13:03 - 13:07 (00:03)
reboot system boot 5.4.0-37-generic Wed Jun 24 11:52 - 12:18 (00:26)
reboot system boot 5.4.0-1016-azure Wed Jun 24 11:46 - 11:52 (00:05)
reboot system boot 5.4.0-1016-azure Wed Jun 24 08:56 - 11:46 (02:50)
reboot system boot 5.4.0-1016-azure Wed Jun 24 08:50 - 08:53 (00:03)
reboot system boot 5.4.0-37-generic Wed Jun 24 08:44 - 08:50 (00:05)
reboot system boot 5.4.0-37-generic Wed Jun 24 08:40 - 08:44 (00:03)
reboot system boot 5.4.0-37-generic Tue Jun 23 18:18 - 08:40 (14:21)
Any clue of why is this happening and how to solve the issue?
Вам необходимо установить мета-пакет linux-azure
, чтобы получать обновления ядра azure
.
У вас есть linux-image -generic
и linux-headers-generic
, которые извлекают общие
ядра.
По умолчанию система загружается с ядром с наибольшим номером. Если вы хотите автоматически загружаться с ядрами azure
, вам придется удалить общие
ядра.