bundlewrap/bundles/zfs/files/zfs-modprobe.conf

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