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";