From Fedora Project Wiki

< Mock

Revision as of 12:06, 5 December 2014 by Msuchy (talk | contribs) (Created page with "== Mount Plugin == The mount plugin is enabled by default, but has no configured directories to mount. == Configuration == You can disable this plugin by: config_opts[...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Mount Plugin

The mount plugin is enabled by default, but has no configured directories to mount.

Configuration

You can disable this plugin by:

   config_opts['plugin_conf']['mount_enable'] = False

you can configure this plugin by:

   config_opts['plugin_conf']['mount_enable'] = True
   config_opts['plugin_conf']['mount_opts']['dirs'].append(("/dev/device", "/mount/path/in/chroot/", "vfstype", "mount_options"))

A real life example:

   config_opts['plugin_conf']['mount_opts']['dirs'].append(("server.example.com:/exports/data", "/mnt/data", "nfs", "rw,hard,intr,nosuid,nodev,noatime,tcp"))