summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorKalev Lember <kalev@smartlink.ee>2010-07-30 11:51:14 -0500
committerClark Williams <williams@redhat.com>2010-07-30 11:51:14 -0500
commit2eb48d066ec3144b9e564c2d2ad1c445706aa112 (patch)
tree43dcf407f4a22077f684905b688429633992f8ba /etc
parentb3b1ede4f16aa7c20cac8b91f14749a0850a5e29 (diff)
downloadmock-2eb48d066ec3144b9e564c2d2ad1c445706aa112.tar.gz
mock-2eb48d066ec3144b9e564c2d2ad1c445706aa112.tar.xz
mock-2eb48d066ec3144b9e564c2d2ad1c445706aa112.zip
patch that allows specifying max tmpfs size to tmpfs plugin
Add a 'max_fs_size' parameter to the tmpfs plugin that allows specification of sizes greater than default (50% of RAM). Signed-off-by: Clark Williams <williams@redhat.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/mock/site-defaults.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/mock/site-defaults.cfg b/etc/mock/site-defaults.cfg
index fdff7ff..6dc4d33 100644
--- a/etc/mock/site-defaults.cfg
+++ b/etc/mock/site-defaults.cfg
@@ -75,7 +75,8 @@
# config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/host/path', '/bind/mount/path/in/chroot/' ))
#
# config_opts['plugin_conf']['tmpfs_enable'] = False
-# config_opts['plugin_conf']['tmpfs_opts'] = {'required_ram_mb': 1024}
+# config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 1024
+# config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '512m'
#############################################################################
#