Path: blob/main/share/examples/jails/jail.xxx.conf
39476 views
1xxx {2host.hostname = "xxx.yyy"; # hostname3path = "/vm/xxx"; # root directory45exec.clean;6exec.system_user = "root";7exec.jail_user = "root";89#10# NB: Below 4-lines required11#12vnet;13# netgraph14vnet.interface = "ng0_xxx"; # vnet interface(s)15exec.prestart += "jng bridge xxx em0"; # bridge interface(s)16exec.poststop += "jng shutdown xxx"; # destroy interface(s)17# if_bridge18#vnet.interface = "e0b_xxx"; # vnet interface(s)19#exec.prestart += "jib addm xxx em0"; # bridge interface(s)20#exec.poststop += "jib destroy xxx"; # destroy interface(s)2122# Standard recipe23exec.start += "/bin/sh /etc/rc";24exec.stop = "/bin/sh /etc/rc.shutdown jail";25exec.consolelog = "/var/log/jail_xxx_console.log";26mount.devfs; # mount devfs2728# Optional (default off)29#devfs_ruleset = "11"; # rule to unhide bpf for DHCP30#allow.mount; # mount /etc/fstab.xxx31#allow.set_hostname = 1; # Allow hostname to change32#allow.sysvipc = 1; # Allow SysV Interprocess Comm.33}343536