summaryrefslogtreecommitdiffstats
path: root/py/mock.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/mock.py')
-rwxr-xr-xpy/mock.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/py/mock.py b/py/mock.py
index dd002de..a0e585d 100755
--- a/py/mock.py
+++ b/py/mock.py
@@ -244,7 +244,7 @@ def setup_default_config_opts(config_opts, unprivUid):
# root_cache next.
# after that, any plugins that must create dirs (yum_cache)
# any plugins without preinit hooks should be last.
- config_opts['plugins'] = ('tmpfs', 'root_cache', 'yum_cache', 'bind_mount', 'ccache')
+ config_opts['plugins'] = ('tmpfs', 'root_cache', 'yum_cache', 'bind_mount', 'ccache', 'selinux')
config_opts['plugin_dir'] = os.path.join(PKGPYTHONDIR, "plugins")
config_opts['plugin_conf'] = {
'ccache_enable': True,
@@ -273,6 +273,8 @@ def setup_default_config_opts(config_opts, unprivUid):
'tmpfs_opts': {
'required_ram_mb': 900,
'max_fs_size': None},
+ 'selinux_enable': True,
+ 'selinux_opts': {},
}
# dependent on guest OS