bundles/apt: add a bit of code to remove old, unused kernel images

This commit is contained in:
Franzi 2021-04-02 08:11:17 +02:00
parent 8a0c8f32ae
commit 7ca24d27d3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 21 additions and 0 deletions

View file

@ -31,6 +31,7 @@ files = {
'content_type': 'mako',
'mode': '0700',
'context': {
'clean_old_kernels': node.metadata.get('apt/clean_old_kernels', True),
'data': node.metadata.get('apt/unattended-upgrades', {}),
}
},