Update check_running_kernel

Add Proxmox VE 8.1 support
This commit is contained in:
Thorsten Spille 2023-12-11 22:46:24 +01:00 committed by GitHub
parent 6cf7c6df72
commit 2c71bb486f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ if [[ "$uname" == *"-pve" ]]; then
if [[ "$(lsb_release -cs 2> /dev/null)" == "bookworm" ]]; 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" filter="proxmox-kernel-${major_version}.*-signed"
uname=${uname}-signed
else else
filter="proxmox-kernel-${major_version}" filter="proxmox-kernel-${major_version}"
fi fi