finally got the ipv6 jail stuff working, yeah

This commit is contained in:
2024-11-20 18:15:48 +01:00
parent 2617b3860b
commit dd2714d315
8 changed files with 143 additions and 6 deletions

View File

@@ -29,7 +29,7 @@
mountpoint: /data/home
- name: determine ipv6 address
shell: ifconfig vtnet0 inet6 | awk '{ if (/2a01/) { sub(/::.$/, "::2", $2); print $2 }}'
shell: ifconfig {{ netif.primary }} inet6 | awk '{ if (/2a01/) { sub(/::.$/, "::2", $2); print $2 }}'
register: jailip
- name: create jail