diff options
| author | Panu Oksiala <panu@oksiala.fi> | 2024-01-22 00:24:37 +0200 |
|---|---|---|
| committer | Panu Oksiala <panu@oksiala.fi> | 2024-01-22 00:24:37 +0200 |
| commit | 73c1115e6fba24b86eca1e5cad5f5086d6bd2ba6 (patch) | |
| tree | daedbc44f41c91a13cb7fc26edd325ab14996217 /ansible/project/templates/jail.conf.j2 | |
Initial commit
Diffstat (limited to 'ansible/project/templates/jail.conf.j2')
| -rw-r--r-- | ansible/project/templates/jail.conf.j2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ansible/project/templates/jail.conf.j2 b/ansible/project/templates/jail.conf.j2 new file mode 100644 index 0000000..c5063d7 --- /dev/null +++ b/ansible/project/templates/jail.conf.j2 @@ -0,0 +1,19 @@ +{{ jail_name }} { + # 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}"; + + # NETWORK + ip6.addr = {{ jail_ipv6 }}; + interface = vtnet0; +}
\ No newline at end of file |
