From c6ed886f4c16e13810eef338b31fb4ed82438662 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 29 Oct 2022 15:55:34 -0400 Subject: [PATCH] Add default jail list. --- ansible/roles/jail/defaults/main.yaml | 1 + ansible/roles/jail/files/jails/cloak.conf | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 ansible/roles/jail/defaults/main.yaml diff --git a/ansible/roles/jail/defaults/main.yaml b/ansible/roles/jail/defaults/main.yaml new file mode 100644 index 0000000..7c6d77d --- /dev/null +++ b/ansible/roles/jail/defaults/main.yaml @@ -0,0 +1 @@ +jail_list: [] diff --git a/ansible/roles/jail/files/jails/cloak.conf b/ansible/roles/jail/files/jails/cloak.conf index 7a5bf1e..db56473 100644 --- a/ansible/roles/jail/files/jails/cloak.conf +++ b/ansible/roles/jail/files/jails/cloak.conf @@ -1,6 +1,7 @@ cloak { path = "/jail/main/jails/cloak"; - ip4.addr += "lo0|127.0.0.2"; + vnet; + vnet.interface += "nat_link2"; exec.start += "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown jail";