From 73c1115e6fba24b86eca1e5cad5f5086d6bd2ba6 Mon Sep 17 00:00:00 2001 From: Panu Oksiala Date: Mon, 22 Jan 2024 00:24:37 +0200 Subject: Initial commit --- ansible/project/templates/jail.conf.j2 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 ansible/project/templates/jail.conf.j2 (limited to 'ansible/project/templates/jail.conf.j2') 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 -- cgit v1.3