diff options
Diffstat (limited to 'py/mock.py')
-rwxr-xr-x | py/mock.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |