fix modprobe/zfs.conf

This commit is contained in:
mwiegand 2022-01-11 18:07:09 +01:00
parent d0c3030e7a
commit b8cfd06e12

View file

@ -10,7 +10,7 @@ files = {
'/etc/cron.monthly/zfs-auto-snapshot': {'delete': True, 'needs': {'pkg_apt:zfs-auto-snapshot'}},
'/etc/modprobe.d/zfs.conf': {
'content': '\n'.join(
f'option zfs {k}={v}'
f'options zfs {k}={v}'
for k, v in node.metadata.get('zfs/kernel_params').items()
) + '\n',
},