debian question: installing latest pve-kernel-3.10.0-N

Aug 6, 2014
136
3
18
making a setup script (ansible playbook) for pve nodes, and want to install the latest pve-kernel-3.10.0. theres no package called pve-kernel-3 or 3.10, so is there a way script the installation of the latest of that series?
 
making a setup script (ansible playbook) for pve nodes, and want to install the latest pve-kernel-3.10.0. theres no package called pve-kernel-3 or 3.10, so is there a way script the installation of the latest of that series?
Hi,
not directly an script, but something like this should work:
Code:
pvekernel=`apt-cache search pve-kernel-3.10 | sort -n | head -1 | awk '{print $1}'`
apt-get install $pvekernel
Udo
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!