kernel installed under lxc?

ned

Renowned Member
Jan 26, 2015
113
2
83
Hi I installed Proxmox Mail Gateway 5 and the kernel got installed by default...any reason why I have a kernel package under lxc?
 
There is no special meta package for LXC installations, therefore the kernel got installaed. but you can remove the kernel from your container with problems (apt remove ..)
 
These are the problems I get when trying to remove the kernel

Code:
# apt-get remove pve-kernel-*

The following packages will be REMOVED:
  proxmox-mailgateway pve-kernel-4.13 pve-kernel-4.13.16-1-pve
 
@tom should I submit this as a bug? I would like to be able to remove the kernel from my lxc CT. Thanks.
 
you can remove the kernel (your "problem" is not really a problem) but yes, I assume we can improve LXC installations (maybe a second metapackage).
 
@tom if I try to remove the kernel package proxmox-mailgateway will be removed therefore I can not remove the kernel.
 
@tom if I try to remove the kernel package proxmox-mailgateway will be removed therefore I can not remove the kernel.

this is no problem, try it in a test container if you are unsure.
 
I understant, proxmox-mailgateway is just a meta package therefore it is safe to remove it.