Commit cac21746 authored by Pietsch, Martin's avatar Pietsch, Martin

document creation of devfs rules for jails

parent 03db777e
......@@ -2,6 +2,24 @@ Description
===========
This role configures and upgrades a FreeBSD system. Furthermore, it creates a mirror and installation media for this.
For the creation of jail container it is possible to define special rules for devices to be seen by them. An example is:
function_packages:
- name: "example.service"
container: true
container_options:
exec.start: "/bin/sh /etc/rc"
exec.stop: "/bin/sh /etc/rc.shutdown"
exec.clean: yes
mount.devfs: yes
securelevel: "3"
devfs_ruleset: "5"
devfs_rules:
- "add path deviceXY unhide"
path: /var/jails/$name
The list *devfs_rules* contains a devfs rule that enables the *deviceXY* to the container. It is also nessecary to set the container option *devfs_ruleset*.
Requirement
===========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment