Proxmox VE Kernel Pin

Kernel Pin is an essential tool for effortlessly managing kernel pinning and unpinning.
Execute within the Proxmox Shell

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/kernel-pin.sh)"

You can pin a kernel without the random internet script:

# proxmox-boot-tool kernel pin 6.17.13-7-pve

then

# proxmox-boot-tool refresh

use “ls /boot” to see which kernels are available.

I had to pin kernel after the graylog lxc container screwed up with latest kernel releases