diff options
Diffstat (limited to 'playbooks.d/vpn-wireguard/playbook.bash')
-rw-r--r-- | playbooks.d/vpn-wireguard/playbook.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks.d/vpn-wireguard/playbook.bash b/playbooks.d/vpn-wireguard/playbook.bash index 82b7286..c78906c 100644 --- a/playbooks.d/vpn-wireguard/playbook.bash +++ b/playbooks.d/vpn-wireguard/playbook.bash @@ -31,7 +31,8 @@ playbook_add() { # Generate the peerfile for this machine file_template "peer" \ endpoint="$(config "$BASHTARD_PLAYBOOK.endpoint")" \ - ip="$(config "$BASHTARD_PLAYBOOK.ip")" \ + ipv4="$(config "$BASHTARD_PLAYBOOK.ipv4")" \ + ipv6="$(config "$BASHTARD_PLAYBOOK.ipv6")" \ port="$(config "$BASHTARD_PLAYBOOK.port" "51820")" \ pubkey="$(wg pubkey < "$data/privkey")" \ > "$data/peers/${BASHTARD_PLATFORM[fqdn]}" |