2023-06-17 20:28:43 +00:00
|
|
|
admin_git {
|
2024-06-29 19:21:27 +00:00
|
|
|
path = "/jail/${name}";
|
2023-06-17 20:28:43 +00:00
|
|
|
vnet;
|
|
|
|
exec.prestart += "/usr/local/bin/jail_netgraph_bridge start jail_nat jail${name} 10.215.1.1/24";
|
2024-07-07 22:09:15 +00:00
|
|
|
exec.poststop += "sleep 10; /usr/local/bin/jail_netgraph_bridge stop jail_nat jail${name}";
|
2023-06-17 20:28:43 +00:00
|
|
|
vnet.interface += "jail${name}";
|
|
|
|
|
|
|
|
devfs_ruleset = 14;
|
|
|
|
mount.devfs;
|
2024-07-01 03:02:23 +00:00
|
|
|
mount.fstab = "/etc/fstab.${name}";
|
2023-06-17 20:28:43 +00:00
|
|
|
|
|
|
|
exec.start += "/bin/sh /etc/rc";
|
|
|
|
exec.stop = "/bin/sh /etc/rc.shutdown jail";
|
|
|
|
exec.consolelog = "/var/log/jail_${name}_console.log";
|
|
|
|
}
|