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