diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/etc_jail.conf.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/etc_jail.conf.j2 b/templates/etc_jail.conf.j2 new file mode 100644 index 0000000..bcfcef0 --- /dev/null +++ b/templates/etc_jail.conf.j2 @@ -0,0 +1,22 @@ +# STARTUP/LOGGING +exec.start = "/bin/sh /etc/rc"; +exec.stop = "/bin/sh /etc/rc.shutdown"; +exec.consolelog = "/var/log/jail_console_${name}.log"; + +# PERMISSIONS +allow.raw_sockets; +exec.clean; +mount.devfs; + +# HOSTNAME/PATH +host.hostname = "${name}"; +path = "/usr/local/jails/containers/${name}"; + +# JAILS +{% for jail in jails %} +{{ jail.name }} { + ip4.addr = {{ jail.ip }}; + interface = lan0; +} + +{% endfor %} |
