bundlewrap/bundles/zfs/files/zfs-modprobe.conf
Franzi b06532241b
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: use metastack syntax for metadata.get()
2021-02-18 18:12:25 +01:00

7 lines
167 B
Plaintext

<%
arc_max_mb = node.metadata.get('zfs/module_options/zfs_arc_max_mb', 1024)
%>\
% if arc_max_mb != 0:
options zfs zfs_arc_max=${arc_max_mb * 1024 * 1024}
% endif