mirror of
				https://git.proxmox.com/git/proxmox-kernel-helper
				synced 2025-11-04 09:17:32 +00:00 
			
		
		
		
	by setting the desired version in a dedicated file, which is used by the systemd service as condition for removing it and refreshing upon reboot. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com> Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Tested-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
[Unit]
 | 
						|
Description=Clean up bootloader next-boot setting
 | 
						|
After=systemd-remount-fs.service
 | 
						|
ConditionPathExists=/etc/kernel/next-boot-pin
 | 
						|
 | 
						|
[Service]
 | 
						|
Type=oneshot
 | 
						|
RemainAfterExit=yes
 | 
						|
ExecStart=/usr/sbin/proxmox-boot-tool kernel unpin --next-boot
 | 
						|
ExecStart=/usr/sbin/proxmox-boot-tool refresh
 | 
						|
 | 
						|
[Install]
 | 
						|
WantedBy=multi-user.target
 |