xref: /freebsd/share/examples/jails/jail.xxx.conf (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1# $FreeBSD$
2
3xxx {
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 jail";
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}
36