bundlewrap/bundles/zfs/files/zfs-modprobe.conf
Franziska Kunsmann a793bb5fc1
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/zfs: rename zfs_arc_max_mb to zfs_arc_max_gb
2021-06-25 18:39:06 +02:00

6 lines
170 B
Text

<%
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