bundlewrap/bundles/modprobe/items.py
mwiegand ce4890e108 wip
2022-06-23 02:08:29 +02:00

14 lines
333 B
Python

for module, options in node.metadata.get('modprobe').items():
if not options:
continue
files['/etc/modprobe.d'] = {
'source': 'modprobe.conf',
'content_type': 'mako',
'context': {
'module': module,
'options': options,
},
'mode': '0644',
}