Remove bridge setup & use predictable network interace name
This commit is contained in:
parent
ed7bf5a46c
commit
83ad3362bd
6 changed files with 15 additions and 25 deletions
10
templates/network/link1.network.j2
Normal file
10
templates/network/link1.network.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
|
||||
|
||||
[Match]
|
||||
Name={{ network_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