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

7 lines
170 B
Plaintext
Raw Permalink Normal View History

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