Add wireguard configuration
This commit is contained in:
parent
ce46689f57
commit
a043bae576
16 changed files with 155 additions and 13 deletions
10
templates/network/enp5s0.network.j2
Normal file
10
templates/network/enp5s0.network.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
[Match]
|
||||
Name={{ bridge_interface }}
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
Address={{ lan_ip_address }}/24
|
||||
Gateway={{ lan_ip_address[:-3] }}1
|
||||
DNS={{ lan_ip_address[:-3] }}1
|
||||
Loading…
Add table
Add a link
Reference in a new issue