Skip to content

Commit

Permalink
Use GA kernel over HWE kernel (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhaliaw authored Jul 18, 2023
1 parent 6a71186 commit a9143c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a9143c3

Please sign in to comment.