[CODE] add tasks
This commit is contained in:
parent
54cffa0cdc
commit
1900ac0301
11 changed files with 203 additions and 3 deletions
9
templates/hostfile.j2
Normal file
9
templates/hostfile.j2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{% if tinc_public_addr is defined %}
|
||||
Address = {{ tinc_public_addr }}
|
||||
{% endif %}
|
||||
Subnet = {{ tinc_client_ip }}/32
|
||||
{% if tinc_client_ip == tinc_remote_nets[0].gateway %}
|
||||
Subnet = {{ tinc_remote_nets[0].net_cidr }}
|
||||
{% endif %}
|
||||
|
||||
{% include tinc_tmp_pubkey %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue