Skip to content

Commit

Permalink
Update check_running_kernel
Browse files Browse the repository at this point in the history
Fix kernel detection
  • Loading branch information
thorstenspille authored Dec 11, 2023
1 parent 2c71bb4 commit 6eba5ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions running-kernel/check_running_kernel
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@

uname=$(uname -r)
major_version=${uname:0:3}
if [[ "$uname" == *"-pve" ]]; then
if [[ "$uname" == *"-pve"* ]]; then
if [[ "$(lsb_release -cs 2> /dev/null)" == "bookworm" ]]; then
if [[ "$major-version" == "6.5" ]]; then
if [[ "$major_version" == "6.5" ]]; then
filter="proxmox-kernel-${major_version}.*-signed"
uname=${uname}-signed
else
Expand Down

0 comments on commit 6eba5ba

Please sign in to comment.