]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/examples/jails/jail.xxx.conf
MFV r344063:
[FreeBSD/FreeBSD.git] / share / examples / jails / jail.xxx.conf
1 # $FreeBSD$
2
3 xxx {
4         host.hostname = "xxx.yyy";      # hostname
5         path = "/vm/xxx";               # root directory
6
7         exec.clean;
8         exec.system_user = "root";
9         exec.jail_user = "root";
10
11         #
12         # NB: Below 4-lines required
13         #
14         vnet;
15         # netgraph
16         vnet.interface = "ng0_xxx";             # vnet interface(s)
17         exec.prestart += "jng bridge xxx em0";  # bridge interface(s)
18         exec.poststop += "jng shutdown xxx";    # destroy interface(s)
19         # if_bridge
20         #vnet.interface = "e0b_xxx";            # vnet interface(s)
21         #exec.prestart += "jib addm xxx em0";   # bridge interface(s)
22         #exec.poststop += "jib destroy xxx";    # destroy interface(s)
23
24         # Standard recipe
25         exec.start += "/bin/sh /etc/rc";
26         exec.stop = "/bin/sh /etc/rc.shutdown";
27         exec.consolelog = "/var/log/jail_xxx_console.log";
28         mount.devfs;    # mount devfs
29
30         # Optional (default off)
31         #devfs_ruleset = "11";          # rule to unhide bpf for DHCP
32         #allow.mount;                   # mount /etc/fstab.xxx
33         #allow.set_hostname = 1;        # Allow hostname to change
34         #allow.sysvipc = 1;             # Allow SysV Interprocess Comm.
35 }