From 9dcd502af5fedec01f8c716833e07249e6dfc0e9 Mon Sep 17 00:00:00 2001 From: Andrew Liaw <43424755+yhaliaw@users.noreply.github.com> Date: Fri, 7 Jul 2023 09:10:10 +0800 Subject: [PATCH] Use GA kernel over HWE kernel --- src/charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charm.py b/src/charm.py index 58fa6f52f..21e67e806 100755 --- a/src/charm.py +++ b/src/charm.py @@ -317,7 +317,7 @@ def _on_install(self, _event: InstallEvent) -> None: def _upgrade_kernel(self) -> None: """Upgrade the Linux kernel.""" execute_command(["/usr/bin/apt-get", "update"]) - execute_command(["/usr/bin/apt-get", "install", "-qy", "linux-generic-hwe-22.04"]) + execute_command(["/usr/bin/apt-get", "install", "-qy", "linux-generic"]) _, exit_code = execute_command(["ls", "/var/run/reboot-required"], check_exit=False) if exit_code == 0: