bundles/sysctl: we need 99-sysctl.conf on debian

This commit is contained in:
Franzi 2023-05-02 05:45:23 +02:00
parent 83930e12bc
commit f12a176759
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -20,6 +20,14 @@ files = {
}, },
} }
if node.os == 'debian':
# debian insists on creating that file during almost every
# unattended-upgrades run. Make it known to bundlewrap, so
# it does not get removed during applies.
symlinks['/etc/sysctl.d/99-sysctl.conf'] = {
'target': '../sysctl.conf',
}
directories = { directories = {
'/etc/sysctl.d': { '/etc/sysctl.d': {
'purge': True, 'purge': True,